Commit a transaction even if it has errors.


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

Syntax

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

Exceptions

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

Remarks

This method commits the transaction with the given full transaction id, forcing the commit even if there were errors. 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