MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends

Starts a transaction on the specified feature source.

Remarks:
The XML returned by MgFeatureService::GetCapabilities says whether a provider supports transactions. See Provider Capabilities .
.NET Syntax
virtual MgTransaction BeginTransaction(MgResourceIdentifier resource);
Java Syntax
virtual MgTransaction BeginTransaction(MgResourceIdentifier resource);
PHP Syntax
virtual MgTransaction BeginTransaction(MgResourceIdentifier resource);
Parameters:
resource(MgResourceIdentifier) A resource identifier referring to a feature source.
Returns:
Returns an MgTransaction instance (or NULL).
Exceptions:
MgFeatureServiceException
MgInvalidArgumentException
MgInvalidOperationException
MgFdoException
Since:
2.2