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 ServerGroup object in the collection by name.
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 ( _
name As String _
) As ServerGroup
Get
'Utilisation
Dim instance As ServerGroupCollection
Dim name As String
Dim value As ServerGroup
value = instance(name)
public ServerGroup this[
string name
] { get; }
public:
property ServerGroup^ default[String^ name] {
ServerGroup^ get (String^ name);
}
member Item : ServerGroup
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System.String
A String value that specifies the name of the ServerGroup object in the ServerGroupCollection collection.
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup
A ServerGroup object value that represents the server group.
Exemples
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.RegisteredServers