Compartilhar via


Propriedade ProxyAccounts

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

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

Sintaxe

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

Valor da propriedade

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

Comentários

Essa propriedade foi introduzida no SQL Server 2005.