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.