AcMapFeatureService::UpdateFeatures Method

Autodesk GIS Map Platform

AcMapFeatureService:: UpdateFeatures Method

Executes the MgDeleteFeatures, MgInsertFeatures, MgUpdateFeatures, MgLockFeatures or MgUnlockFeatures commands contained in the given MgFeatureCommandCollection object.

Description

The XML returned by GetCapabilities says whether a provider supports SQL commands.

virtual MgPropertyCollection* UpdateFeatures(
    MgResourceIdentifier* resource, 
    MgFeatureCommandCollection* commands, 
    bool useTransaction
);
Parameters 
Description 
resource 
A resource identifier for the feature source. 
commands 
A collection of feature commands to be executed. 
useTransaction 
If true and transactions are supported by the Fdo provider, execute all commands inside a transaction. If false, do not use a transaction.  
Returns

Returns an MgPropertyCollection object. Each property in the collection corresponds to a command in the MgFeatureCommandCollection argument. The property name is the index of the command in the feature command collection.

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