Service.ErrorControl 속성

Gets the severity of the error if the SQL Server service fails to start during startup.

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

구문

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

value = instance.ErrorControl
public ServiceErrorControl ErrorControl { get; }
public:
property ServiceErrorControl ErrorControl {
    ServiceErrorControl get ();
}
member ErrorControl : ServiceErrorControl
function get ErrorControl () : ServiceErrorControl

속성 값

유형: ServiceErrorControl
A ServiceErrorControl object value that specifies the severity of the error if the service fails to start during Microsoft SQL Server startup.

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

참고 항목

참조

Service 클래스

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

관련 자료

WMI and SQL Server

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