AcMapFeatureService::TestConnection Method (string, string)

Autodesk GIS Map Platform

AcMapFeatureService:: TestConnection Method
(string, string)

Connects to the Feature Provider specified in the connection string.

virtual bool TestConnection(
    string providerName, 
    string connectionString
);
Parameters 
Description 
providerName 
The name of the Fdo feature provider. 
connectionString 
Connection string for Feature Provider. Connection property names that appear in the connection string as keys can be obtained from the output of GetFeatureProviders method.  
Returns

Returns true if the connection was successful; otherwise returns false.

Remarks

This method is not implemented for AutoCAD Map 3D. 

You use this method to verify that the connection property values are valid. You then use these values to construct a feature source file that you will install in the repository.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].