Compartir a través de


AgentServiceAccount Propiedad

Gets or sets the SQL Server Agent service account.

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

Sintaxis

'Declaración
Public ReadOnly Property AgentServiceAccount As String
    Get
'Uso
Dim instance As ServerSetupAdapter
Dim value As String

value = instance.AgentServiceAccount
public string AgentServiceAccount { get; }
public:
virtual property String^ AgentServiceAccount {
    String^ get () sealed;
}
abstract AgentServiceAccount : string
override AgentServiceAccount : string
final function get AgentServiceAccount () : String

Valor de la propiedad

Tipo: System. . :: . .String
A String value that specifies the SQL Server service account.

Implementa

IServerSetupFacet. . :: . .AgentServiceAccount