Propriété JobServer.ProxyAccounts

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

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

Valeur de propriété

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

Notes

Cette propriété a été introduite dans SQL Server 2005.

Exemples

Planification des tâches administratives automatiques dans l'Agent SQL Server

Voir aussi

Référence

JobServer Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Agent

Autres ressources

Tâches d'administration automatisée (Agent SQL Server)

sp_help_proxy (Transact-SQL)