Get an action from the action list by name. The actionName conforms to the format {[moduleid.packagename.] | [packagename.]}objectname.
命名空间: Microsoft.SqlServer.XEvent.Linq
程序集: Microsoft.SqlServer.XEvent.Linq(在 Microsoft.SqlServer.XEvent.Linq.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
actionName As String _
) As PublishedAction
Get
用法
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 支持使用索引属性,但不支持声明新索引属性。
参数
- actionName
类型:System.String
The name of the action.
属性值
类型:Microsoft.SqlServer.XEvent.Linq.PublishedAction
An action from the action list by name.