Partager via


Propriété ServerSetupAdapter.AgentServiceAccount

Gets or sets the SQL Server Agent service account.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

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

Valeur de propriété

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

Implémente

IServerSetupFacet.AgentServiceAccount

Voir aussi

Référence

ServerSetupAdapter Classe

Espace de noms Microsoft.SqlServer.Management.Smo