Właściwość Item (Int32)
Pobiera element grupa obciążenia za pomocą numeru indeksu.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Syntax
'Deklaracja
Public ReadOnly Default Property Item ( _
index As Integer _
) As WorkloadGroup
Get
'Użycie
Dim instance As WorkloadGroupCollection
Dim index As Integer
Dim value As WorkloadGroup
value = instance(index)
public WorkloadGroup this[
int index
] { get; }
public:
property WorkloadGroup^ default[int index] {
WorkloadGroup^ get (int index);
}
member Item : WorkloadGroup
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Typ: System. . :: . .Int32
Int32
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo. . :: . .WorkloadGroup
WorkloadGroup
Zobacz także