AgentServiceAccount 属性

Gets or sets the SQL Server Agent service account.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public ReadOnly Property AgentServiceAccount As String
    Get
用法
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

属性值

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

实现

IServerSetupFacet. . :: . .AgentServiceAccount