Partager via


Propriété LinkedServerCollection.Item (Int32)

Gets a LinkedServer object in the LinkedServerCollection collection by index number.

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

Syntaxe

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

value = instance(index)
public LinkedServer this[
    int index
] { get; }
public:
property LinkedServer^ default[int index] {
    LinkedServer^ get (int index);
}
member Item : LinkedServer
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.LinkedServer
A LinkedServer object value that represents the linked server.

Exemples

Utilisation de collections

Voir aussi

Référence

LinkedServerCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.Smo