IServerSetupFacet.AgentServiceAccount 속성

Gets the service account for the SQL Server Agent service.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<DisplayNameKeyAttribute("JobServer_ServiceAccountName")> _
<DisplayDescriptionKeyAttribute("JobServer_ServiceAccountDesc")> _
ReadOnly Property AgentServiceAccount As String 
    Get
‘사용 방법
Dim instance As IServerSetupFacet 
Dim value As String 

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

속성 값

유형: System.String
A String value that specifies the service account for the SQL Server Agent.

속성 설정

참고 항목

참조

IServerSetupFacet 인터페이스

Microsoft.SqlServer.Management.Smo 네임스페이스