Udostępnij za pośrednictwem


Właściwość Service.ServiceAccount

Pobiera konta system, w którym SQL Server Usługa jest uruchomiony.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.Wmi
Zestaw:  Microsoft.SqlServer.SqlWmiManagement (w Microsoft.SqlServer.SqlWmiManagement.dll)

Składnia

'Deklaracja
Public ReadOnly Property ServiceAccount As String
    Get
'Użycie
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

Wartość właściwości

Typ: System.String
A String wartość, która określa konta system, w którym usługa jest uruchomiony.