Partager via


Propriété EventInfoCollection.Item (String)

Gets the EventInfo object with the specified name.

Espace de noms :  Microsoft.SqlServer.Management.XEvent
Assembly :  Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As EventInfo 
    Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.SqlServer.Management.XEvent.EventInfo
The EventInfo object specified by the name parameter.

Voir aussi

Référence

EventInfoCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.XEvent