다음을 통해 공유


Service.AcceptsStop 속성

Gets the Boolean property value that specifies whether the SQL Server service can be stopped.

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

구문

‘선언
Public ReadOnly Property AcceptsStop As Boolean 
    Get
‘사용 방법
Dim instance As Service 
Dim value As Boolean 

value = instance.AcceptsStop
public bool AcceptsStop { get; }
public:
property bool AcceptsStop {
    bool get ();
}
member AcceptsStop : bool
function get AcceptsStop () : boolean

속성 값

유형: System.Boolean
A Boolean value that specifies whether the SQL Server service can be stopped.If True, the service can be stopped.If False (default), the service cannot be stopped.

WMI 공급자를 사용하여 서비스 및 네트워크 설정 관리

참고 항목

참조

Service 클래스

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

관련 자료

WMI and SQL Server

SQL Server 데이터베이스 엔진에 연결