Condividi tramite


Proprietà AgentServiceAccount

Gets or sets the SQL Server Agent service account.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property AgentServiceAccount As String
    Get
'Utilizzo
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

Valore proprietà

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

Implementa

IServerSetupFacet. . :: . .AgentServiceAccount