Propriedade do RDL EventCollection.Item (String)
Gets the XEvent object identified by the name parameter.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- name
Tipo: System.String
The name of the XEvent object to find.
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.XEvent.Event
Returns the XEvent object identified by the name parameter.