Partager via


ServiceAccount propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (dans Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Public ReadOnly Property ServiceAccount As String
    Get
'Utilisation
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

Valeur de la propriété

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