Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

CreateFeatureSource
DescribeSchema
DescribeSchema
DescribeSchemaAsXml
DescribeSchemaAsXml
DescribeWfsFeatureType
EnumerateDataStores
ExecuteSqlNonQuery
ExecuteSqlQuery
GetCapabilities
GetClassDefinition
GetClasses
GetConnectionPropertyValues
GetFeatureProviders
GetLockedFeatures
GetLongTransactions
GetSchemaMapping
GetSchemas
GetSpatialContexts
GetWfsFeature
SchemaToXml
SelectAggregate
SelectFeatures
SelectFeatures
SetLongTransaction
TestConnection
TestConnection
UpdateFeatures
XmlToSchema
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.