次の方法で共有


JobServer.ProxyAccounts プロパティ

ProxyAccount オブジェクトのコレクションを表します。 各 ProxyAccount オブジェクトは、Microsoft SQL Server エージェントで定義されたプロキシ アカウントを表します。

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

構文

'宣言
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ProxyAccount))> _
Public ReadOnly Property ProxyAccounts As ProxyAccountCollection 
    Get
'使用
Dim instance As JobServer 
Dim value As ProxyAccountCollection 

value = instance.ProxyAccounts
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ProxyAccount))]
public ProxyAccountCollection ProxyAccounts { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(ProxyAccount))]
public:
property ProxyAccountCollection^ ProxyAccounts {
    ProxyAccountCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ProxyAccount))>]
member ProxyAccounts : ProxyAccountCollection
function get ProxyAccounts () : ProxyAccountCollection

プロパティ値

型: Microsoft.SqlServer.Management.Smo.Agent.ProxyAccountCollection
SQL Server エージェントで定義されたプロキシ アカウントを表す ProxyAccountCollection です。

説明

このプロパティは SQL Server 2005 で導入されました。

使用例

SQL Server エージェントでの自動管理タスクのスケジュール設定

関連項目

参照

JobServer クラス

Microsoft.SqlServer.Management.Smo.Agent 名前空間

その他の技術情報

管理タスクの自動化 (SQL Server エージェント)

sp_help_proxy (Transact-SQL)