MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual bool MgFeatureService::SetLongTransaction ( MgResourceIdentifier featureSourceId,
CREFSTRING  longTransactionName 
) [pure virtual]

Set the active long transaction name for a feature source.

Remarks:
The long transaction name is associated with the caller's session. If no session is set then the method throws an MgSessionNotFoundException.
.NET Syntax
virtual bool SetLongTransaction(MgResourceIdentifier resource, string longTransactionName);
Java Syntax
virtual boolean SetLongTransaction(MgResourceIdentifier resource, String longTransactionName);
PHP Syntax
virtual bool SetLongTransaction(MgResourceIdentifier resource, string longTransactionName);
Parameters:
featureSourceId(MgResourceIdentifier) A resource identifier identifying a feature source in the repository.
longTransactionName(String/string) The long transaction name to set.
Returns:
Returns true if the name was successfully set; otherwise returns false.
Exceptions:
MgNullArgumentException
MgInvalidResourceTypeException
MgSessionNotFoundException