Returns the number of modify operations associated with this transaction that terminated with an error.


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

Syntax

Visual Basic (Declaration)
Public Function getErrorCount() As Integer
C#
public int getErrorCount()
C++
public:
 int getErrorCount() sealed 
J#
public int getErrorCount()
JScript
public  function getErrorCount() : int

Remarks

If there is no information it returns -1.

Some commands may return an error code but not be considered to have terminated with an error from a transaction point of view. If the command would have committed its results if executed under an implicit transaction it is not considered to have failed. Examples are the checkpoint and restore commands that may return a partial checkpoint or partial restore error, but still commit those operations that succeeded.

See Also