DatabaseEngineInstance.InstanceState Property

 

Gets the state of the instance of SQL Server.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)]
public InstanceState InstanceState { get; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::Matrix)]
property InstanceState InstanceState {
    InstanceState get();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)>]
member InstanceState : InstanceState with get
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Matrix)>
Public ReadOnly Property InstanceState As InstanceState

Property Value

Type: Microsoft.SqlServer.Management.Smo.InstanceState

The state of the instance of SQL Server.

See Also

DatabaseEngineInstance Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top