EventCollection.Item Propiedad (String)
Gets the XEvent object identified by the name parameter.
Espacio de nombres: Microsoft.SqlServer.Management.XEvent
Ensamblado: Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As Event
Get
'Uso
Dim instance As EventCollection
Dim name As String
Dim value As Event
value = instance(name)
public Event this[
string name
] { get; }
public:
property Event^ default[String^ name] {
Event^ get (String^ name);
}
member Item : Event
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
The name of the XEvent object to find.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.XEvent.Event
Returns the XEvent object identified by the name parameter.