Share via


SmsConnectionException.ErrorCode Property

Gets an error code.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As SmsConnectionException
Dim value As Status

value = instance.ErrorCode

Syntax

'Declaration
Public Overrides ReadOnly Property ErrorCode As Status
public override Status ErrorCode { get; }
public:
virtual property Status ErrorCode {
    Status get () override;
}
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public Status get_ErrorCode ()
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

Reference

SmsConnectionException Class
SmsConnectionException Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
SmsQueryException.Status