Właściwość Item (Int32)
Pobiera EventProperty obiektu na określony indeks pozycji.
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 EventProperty
Get
'Użycie
Dim instance As EventPropertyCollection
Dim index As Integer
Dim value As EventProperty
value = instance(index)
public EventProperty this[
int index
] { get; }
public:
property EventProperty^ default[int index] {
EventProperty^ get (int index);
}
member Item : EventProperty
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Typ: System. . :: . .Int32
Int32 Wartość, która określa położenie indeksu EventProperty obiekt kolekcja.
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo. . :: . .EventProperty
EventProperty Wartość obiektu, który określa właściwość zdarzenie w pozycji określonego indeksu.
Zobacz także