Freigeben über


JobServer.ProxyAccounts-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ProxyAccount))> _
Public ReadOnly Property ProxyAccounts As ProxyAccountCollection 
    Get
'Usage
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

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.Agent.ProxyAccountCollection
A ProxyAccountCollection that represents the proxy accounts defined on SQL Server Agent.

Hinweise

Diese Eigenschaft wurde in SQL Server 2005 eingeführt.

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

JobServer Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)

sp_help_proxy (Transact-SQL)