MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends

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
Since:
1.2

Reimplemented in MgLayer.