EventInfoCollection.Item 属性 (String)

Gets the EventInfo object with the specified name.

命名空间:  Microsoft.SqlServer.Management.XEvent
程序集:  Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    name As String _
) As EventInfo 
    Get
用法
Dim instance As EventInfoCollection 
Dim name As String 
Dim value As EventInfo 

value = instance(name)
public EventInfo this[
    string name
] { get; }
public:
virtual property EventInfo^ default[String^ name] {
    EventInfo^ get (String^ name) sealed;
}
abstract Item : EventInfo 
override Item : EventInfo
JScript 支持使用索引属性,但不支持声明新索引属性。

参数

属性值

类型:Microsoft.SqlServer.Management.XEvent.EventInfo
The EventInfo object specified by the name parameter.

请参阅

参考

EventInfoCollection 类

Item 重载

Microsoft.SqlServer.Management.XEvent 命名空间