Provides access to members that test connection for a preset configuration.
If any type of coclass has provide a method to test preconfigured connection, it could implement ITestConnection interface. This method returns a boolean to indicate if the connection failed or passed. In case the connection failed, the implementing coclass is expected to return the appropriate HRESULT indicate what was the cause of the failure.
|TestConnection||Tests if the connection is successful with the current configuration.|
Tests if the connection is successful with the current configuration.
Public Function TestConnection ( _ ) As Boolean
public bool TestConnection ( );
Returns the indication whether the connection failed or passed.