共用方式為


ServerSetupAdapter.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

請參閱

參考

ServerSetupAdapter 類別

Microsoft.SqlServer.Management.Smo 命名空間