Commit a transaction.


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

Syntax

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

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