Web API Reference MapGuide Open Source
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);
Java Syntax
virtual MgLongTransactionReader GetLongTransactions(MgResourceIdentifier resource, boolean bActiveOnly);
PHP Syntax
virtual MgLongTransactionReader GetLongTransactions(MgResourceIdentifier resource, bool bActiveOnly);

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 


Comments or suggestions? Send us feedback.