Partager via


Propriété ProxyAccountCollection.Item (Int32)

Gets a ProxyAccount object in the collection by index number.

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

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ProxyAccount 
    Get
'Utilisation
Dim instance As ProxyAccountCollection 
Dim index As Integer 
Dim value As ProxyAccount 

value = instance(index)
public ProxyAccount this[
    int index
] { get; }
public:
property ProxyAccount^ default[int index] {
    ProxyAccount^ get (int index);
}
member Item : ProxyAccount
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.Agent.ProxyAccount
A ProxyAccount object value that represents the proxy account.

Exemples

Utilisation de collections

Voir aussi

Référence

ProxyAccountCollection Classe

Surcharge Item

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