Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the SQL Server Agent service account.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Property AgentServiceAccount As String
Get
'Usage
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
Property Value
Type: System.String
A String value that specifies the SQL Server service account.
Implements
IServerSetupFacet.AgentServiceAccount