PublishedEvent.ActionList.Item Property
Get an action from the action list by name. The actionName conforms to the format {[moduleid.packagename.] | [packagename.]}objectname.
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
actionName As String _
) As PublishedAction
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- actionName
Type: System.String
The name of the action.
Property Value
Type: Microsoft.SqlServer.XEvent.Linq.PublishedAction
An action from the action list by name.