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


Свойство ServiceAccount

Gets the system account under which the SQL Server service is running.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Wmi
Сборка:  Microsoft.SqlServer.SqlWmiManagement (в Microsoft.SqlServer.SqlWmiManagement.dll)

Синтаксис

'Декларация
Public ReadOnly Property ServiceAccount As String
    Get
'Применение
Dim instance As Service
Dim value As String

value = instance.ServiceAccount
public string ServiceAccount { get; }
public:
property String^ ServiceAccount {
    String^ get ();
}
member ServiceAccount : string
function get ServiceAccount () : String

Значение свойства

Тип System. . :: . .String
A String value that specifies the system account under which the service is running.