Właściwość Item (String)
Pobiera ServerGroup obiektu kolekcja według nazwy.
Przestrzeń nazw: Microsoft.SqlServer.Management.RegisteredServers
Zestaw: Microsoft.SqlServer.Management.RegisteredServers (w Microsoft.SqlServer.Management.RegisteredServers.dll)
Syntax
'Deklaracja
Public ReadOnly Default Property Item ( _
name As String _
) As ServerGroup
Get
'Użycie
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Typ: System. . :: . .String
A String wartość, która określa nazwę ServerGroup obiekt w ServerGroupCollection kolekcja.
Wartość właściwości
Typ: Microsoft.SqlServer.Management.RegisteredServers. . :: . .ServerGroup
A ServerGroup wartość obiektu, który reprezentuje grupę serwera.
Uwagi
Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.
Zobacz także