Gets the error code. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As SmsQueryException
Dim value As Status

value = instance.ErrorCode

Syntax

Visual Basic
Public MustOverride ReadOnly Property ErrorCode As Status
C#
public abstract Status ErrorCode { get; }
C++
public:
virtual property Status ErrorCode {
		Status get () abstract;
}
J#
/** @property */
public abstract Status get_ErrorCode ()
JScript
public abstract function get ErrorCode () : Status

Property Value

SmsQueryException.Status value that indicates the error code.

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 Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also