Bagikan melalui


ServerSetupAdapter.EngineServiceAccount Property

Gets or sets the SQL Server Agent service account.

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

Syntax

'Declaration
Public ReadOnly Property EngineServiceAccount As String 
    Get
'Usage
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

Property Value

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

Implements

IServerSetupFacet.EngineServiceAccount

See Also

Reference

ServerSetupAdapter Class

Microsoft.SqlServer.Management.Smo Namespace