Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Gets a RegisteredServer object in the collection by index number.
Espace de noms : Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly : Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As RegisteredServer
Get
'Utilisation
Dim instance As RegisteredServerCollection
Dim index As Integer
Dim value As RegisteredServer
value = instance(index)
public RegisteredServer this[
int index
] { get; }
public:
property RegisteredServer^ default[int index] {
RegisteredServer^ get (int index);
}
member Item : RegisteredServer
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- index
Type : System.Int32
An Int32 value that specifies the position of the RegisteredServer object in the RegisteredServerCollection collection.
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.RegisteredServers.RegisteredServer
A RegisteredServer object value that represents the registered server.
Exemples
Voir aussi
Référence
RegisteredServerCollection Classe
Espace de noms Microsoft.SqlServer.Management.Smo.RegisteredServers