AcMapFeatureService::GetConnectionPropertyValues Method

Autodesk GIS Map Platform

AcMapFeatureService:: GetConnectionPropertyValues Method

Gets a set of connection values that are used to make connections to an FDO provider that permits multiple connections.

virtual MgStringCollection* GetConnectionPropertyValues(
    string providerName, 
    string propertyName, 
    string partialConnString
);
Parameters 
Description 
providerName 
The name of the Fdo feature provider. Permissible values are obtained by calling the GetFeatureProviders Method.  
propertyName 
Property name. 
partialConnString 
The partial connection string to the Fdo provider. 
Returns

Returns an MgStringCollection or NULL, if nothing is found.

Remarks

You connect to the provider using a set of values that is one value short of addressing a source of feature data. This set of values is also known as a "partial connection string". The provider returns a set of values each of which represents a final value needed to connect to feature data. You can now construct a set of "full connection strings", and you can test the validity of each of these using the TestConnection Method. You make a fully functional connection using another variant of the TestConnection Method. Currently, the only use for this method is to list the datastores in an Oracle database. Feature data is stored in a datastore in an Oracle database. This is explained in the section on the Oracle provider in the Connection To Feature Source topic.

MgXX classes belong to the OsGeo.MapGuide namespace and are descibed in the Geospatial Platform Reference.

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].