AcMapServiceFactory::GetService Method

Autodesk GIS Map Platform

AcMapServiceFactory:: GetService Method

Gets the service object in the application given a service type.

static MgService* GetService(
    long serviceType
);
Parameters 
Description 
serviceType 
Type of service; valid values are MgServiceType::ResourceService and MgServiceType::FeatureService. The other types in MgServiceType are not supported in AutoCAD Map 3D.  
Returns

Return Service object, which is MgResourceService if serviceType is MgServiceType::ResourceService MgFeatureService if serviceType is MgServiceType::FeatureService

Remarks

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