Поделиться через


Свойство 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.