共用方式為


ServerSetupAdapter.EngineServiceAccount 屬性

Gets or sets the SQL Server Agent service account.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property EngineServiceAccount As String 
    Get
'用途
Dim instance As ServerSetupAdapter 
Dim value As String 

value = instance.EngineServiceAccount
public string EngineServiceAccount { get; }
public:
virtual property String^ EngineServiceAccount {
    String^ get () sealed;
}
abstract EngineServiceAccount : string 
override EngineServiceAccount : string
final function get EngineServiceAccount () : String

屬性值

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

實作

IServerSetupFacet.EngineServiceAccount

請參閱

參考

ServerSetupAdapter 類別

Microsoft.SqlServer.Management.Smo 命名空間