Proprietà EventInfoCollection.Item (String)
Gets the EventInfo object with the specified name.
Spazio dei nomi Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As EventInfo
Get
'Utilizzo
Dim instance As EventInfoCollection
Dim name As String
Dim value As EventInfo
value = instance(name)
public EventInfo this[
string name
] { get; }
public:
virtual property EventInfo^ default[String^ name] {
EventInfo^ get (String^ name) sealed;
}
abstract Item : EventInfo
override Item : EventInfo
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System.String
A string that contains the name.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.XEvent.EventInfo
The EventInfo object specified by the name parameter.