Share via


IServerSetupFacet.EngineServiceAccount Property

Gets the name of the Engine Service Account.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Server_ServiceAccountDesc")> _
<DisplayNameKeyAttribute("Server_ServiceAccountName")> _
ReadOnly Property EngineServiceAccount As String 
    Get
'Usage
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

Property Value

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

See Also

Reference

IServerSetupFacet Interface

Microsoft.SqlServer.Management.Smo Namespace