共用方式為


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