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.