Condividi tramite


Proprietà PublishedEvent.ActionList.Item

Get an action from the action list by name. The actionName conforms to the format {[moduleid.packagename.] | [packagename.]}objectname.

Spazio dei nomi  Microsoft.SqlServer.XEvent.Linq
Assembly:  Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    actionName As String _
) As PublishedAction 
    Get
'Utilizzo
Dim instance As PublishedEvent.ActionList 
Dim actionName As String 
Dim value As PublishedAction 

value = instance(actionName)
public PublishedAction this[
    string actionName
] { get; }
public:
property PublishedAction^ default[String^ actionName] {
    PublishedAction^ get (String^ actionName);
}
member Item : PublishedAction
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: Microsoft.SqlServer.XEvent.Linq.PublishedAction
An action from the action list by name.

Vedere anche

Riferimento

PublishedEvent.ActionList Classe

Spazio dei nomi Microsoft.SqlServer.XEvent.Linq