다음을 통해 공유


Server.Status 속성

Gets the current status of the Server.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property Status As ServerStatus 
    Get
‘사용 방법
Dim instance As Server 
Dim value As ServerStatus 

value = instance.Status
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public ServerStatus Status { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property ServerStatus Status {
    ServerStatus get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member Status : ServerStatus
function get Status () : ServerStatus

속성 값

유형: Microsoft.SqlServer.Management.Smo.ServerStatus
A ServerStatus value that contains the current server status.

참고 항목

참조

Server 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스