Compartir a través de


Service.ServiceAccount Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado:  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxis

'Declaración
Public ReadOnly Property ServiceAccount As String 
    Get
'Uso
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

Valor de la propiedad

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

Ejemplos

Administrar servicios y configuración de red utilizando el proveedor WMI

Vea también

Referencia

Service Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Wmi

Otros recursos

WMI and SQL Server

Conectar al Motor de base de datos de SQL Server