Service.ExitCode 속성

Gets the Win32 error code that defines problems encountered when starting and stopping the SQL Server service.

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

구문

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

value = instance.ExitCode
public int ExitCode { get; }
public:
property int ExitCode {
    int get ();
}
member ExitCode : int
function get ExitCode () : int

속성 값

유형: System.Int32
An Int32 value that specifies the Win32 error code that defines problems encountered when starting and stopping the service.

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

참고 항목

참조

Service 클래스

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

관련 자료

WMI and SQL Server

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