Item propriété (String)
Gets a ServerGroup object in the collection by name.
Espace de noms : Microsoft.SqlServer.Management.RegisteredServers
Assembly : Microsoft.SqlServer.Management.RegisteredServers (dans Microsoft.SqlServer.Management.RegisteredServers.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 la propriété
Type : Microsoft.SqlServer.Management.RegisteredServers. . :: . .ServerGroup
A ServerGroup object value that represents the server group.
Notes
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.