AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgLongTransactionReader* MgFeatureService::GetLongTransactions ( MgResourceIdentifier resource,
bool  bActiveOnly 
) [pure virtual]

Gets all available long transactions for the provider.

Remarks:
The XML returned by MgFeatureService::GetCapabilities says whether a provider supports long transactions. See Provider Capabilities .
.NET Syntax
virtual MgLongTransactionReader GetLongTransactions(MgResourceIdentifier resource, bool bActiveOnly = false);
Java Syntax
virtual MgLongTransactionReader GetLongTransactions(MgResourceIdentifier resource, boolean bActiveOnly = false);
PHP Syntax
virtual MgLongTransactionReader GetLongTransactions(MgResourceIdentifier resource, bool bActiveOnly = false);

Parameters:
resource (MgResourceIdentifier) A resource identifier for feature source.
bActiveOnly (boolean/bool) If true, returns the active long transaction; otherwise returns all long transactions.
Returns:
Returns an MgLongTransactionReader instance or NULL.
Exceptions:
MgFeatureServiceException 
MgInvalidArgumentException 
MgInvalidOperationException 
MgFdoException