AgentOperationResult.ErrorCode Property

Updated: April 16, 2012

Gets the error code returned by the completed task. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As AgentOperationResult Dim value As Long value = instance.ErrorCode Public ReadOnly Property ErrorCode As Longpublic long ErrorCode { get; }public: property long long ErrorCode { long long get (); }/** @property */ public long get_ErrorCode () public function get ErrorCode () : long Property ValueReturns a Int64 that contains the error code returned by the task.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms