Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the EventInfo object with the specified name.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As EventInfo
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A string that contains the name.
Property Value
Type: Microsoft.SqlServer.Management.XEvent.EventInfo
The EventInfo object specified by the name parameter.