Proprietà Item (Int32)
Gets a ServerGroup object in the collection by index number.
Spazio dei nomi: Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
index As Integer _
) As ServerGroup
Get
'Utilizzo
Dim instance As ServerGroupCollection
Dim index As Integer
Dim value As ServerGroup
value = instance(index)
public ServerGroup this[
int index
] { get; }
public:
property ServerGroup^ default[int index] {
ServerGroup^ get (int index);
}
member Item : ServerGroup
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- index
Tipo: System. . :: . .Int32
An Int32 value that specifies the position of the ServerGroup object in the ServerGroupCollection collection.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo.RegisteredServers. . :: . .ServerGroup
A ServerGroup object value that represents the server group.
Vedere anche