共用方式為


IServerSetupFacet.EngineServiceAccount 屬性

Gets the name of the Engine Service Account.

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

語法

'宣告
<DisplayDescriptionKeyAttribute("Server_ServiceAccountDesc")> _
<DisplayNameKeyAttribute("Server_ServiceAccountName")> _
ReadOnly Property EngineServiceAccount As String 
    Get
'用途
Dim instance As IServerSetupFacet 
Dim value As String 

value = instance.EngineServiceAccount
[DisplayDescriptionKeyAttribute("Server_ServiceAccountDesc")]
[DisplayNameKeyAttribute("Server_ServiceAccountName")]
string EngineServiceAccount { get; }
[DisplayDescriptionKeyAttribute(L"Server_ServiceAccountDesc")]
[DisplayNameKeyAttribute(L"Server_ServiceAccountName")]
property String^ EngineServiceAccount {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("Server_ServiceAccountDesc")>]
[<DisplayNameKeyAttribute("Server_ServiceAccountName")>]
abstract EngineServiceAccount : string
function get EngineServiceAccount () : String

屬性值

型別:System.String
A String that contains the name of the Service Account.

請參閱

參考

IServerSetupFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間