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

Usage

Visual Basic
Dim instance As SmsConnectionException
Dim value As Status

value = instance.ErrorCode

Syntax

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

Property Value

SmsQueryException.Status value.

Remarks

Your application must implement its own version of this property in a derived class.


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