Share via


AgentOperationResult.ErrorCode Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the error code returned by the completed task.

Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As AgentOperationResult
Dim value As Long

value = instance.ErrorCode

Syntax

'Declaration
Public ReadOnly Property ErrorCode As Long
public long ErrorCode { get; }
public:
property long long ErrorCode {
    long long get ();
}
/** @property */
public long get_ErrorCode ()
public function get ErrorCode () : long

Property Value

Returns a Int64 that contains the error code returned by the task.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

AgentOperationResult Class
AgentOperationResult Members
Microsoft.EnterpriseManagement.Administration Namespace