JobServer.ProxyAccounts 属性

Represents a collection of ProxyAccount objects. Each ProxyAccount object represents a proxy account defined on Microsoft SQL Server Agent.

命名空间:  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
A ProxyAccountCollection that represents the proxy accounts defined on SQL Server Agent.

注释

SQL Server 2005 中引入了此属性。

示例

在 SQL Server 代理中计划自动管理任务

请参阅

参考

JobServer 类

Microsoft.SqlServer.Management.Smo.Agent 命名空间

其他资源

自动执行管理任务(SQL Server 代理)

sp_help_proxy (Transact-SQL)