AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgPropertyCollection* MgLayerBase::UpdateFeatures ( MgFeatureCommandCollection commands  )  [virtual]

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

Remarks:
The XML returned by MgFeatureService::GetCapabilities says whether a provider supports SQL commands. See Provider Capabilities .
.NET Syntax
virtual MgPropertyCollection UpdateFeatures(MgFeatureCommandCollection commands);
Java Syntax
virtual MgPropertyCollection UpdateFeatures(MgFeatureCommandCollection commands);
PHP Syntax
virtual MgPropertyCollection UpdateFeatures(MgFeatureCommandCollection commands);

Parameters:
commands (MgFeatureCommandCollection) A collection of feature commands to be executed.
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.
Exceptions:
MgFeatureServiceException 
MgInvalidArgumentException 
MgInvalidOperationException 
MgFdoException