Partager via


Propriété PublishedEvent.ActionList.Item

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

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

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    actionName As String _
) As PublishedAction 
    Get
'Utilisation
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 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.XEvent.Linq.PublishedAction
An action from the action list by name.

Voir aussi

Référence

PublishedEvent.ActionList Classe

Espace de noms Microsoft.SqlServer.XEvent.Linq