Commit a transaction.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Sub tranCommit( _ 
   ByVal tran_id As Long _ 
)
C#
public void tranCommit(
   long tran_id
)
C++
public:
 void tranCommit(
   __int64 tran_id
) sealed 
J#
public void tranCommit(
   long tran_id
)
JScript
public  function tranCommit(
   tran_id : long
)

Exceptions

Exception TypeCondition
NetricsExceptionIf the server indicates that an error has occured.

Remarks

This method commits the transaction with the given transaction id. If the given transactions has errors this call will fail. If the call to the server should fail a NetricsException is thrown, the error code and message being set to the values returned by the server.

See Also