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.