다음을 통해 공유


ServiceAccount 속성

Gets the account under which the SQL Server Agent service runs

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

구문

‘선언
<SfcPropertyAttribute> _
Public ReadOnly Property ServiceAccount As String
    Get
‘사용 방법
Dim instance As JobServer
Dim value As String

value = instance.ServiceAccount
[SfcPropertyAttribute]
public string ServiceAccount { get; }
[SfcPropertyAttribute]
public:
property String^ ServiceAccount {
    String^ get ();
}
[<SfcPropertyAttribute>]
member ServiceAccount : string
function get ServiceAccount () : String

속성 값

형식: System. . :: . .String
A String value that specifies the account under which the SQL Server Agent service runs.