ServiceAccount プロパティ

SQL Server エージェント サービスを実行するアカウントを取得します。

名前空間:  Microsoft.SqlServer.Management.Smo.Agent
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<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
SQL Server エージェント サービスの実行に使用されるアカウントを示す String 値です。