Gets an EventColumnInfo object specified by the name parameter from the collection.
命名空间: Microsoft.SqlServer.Management.XEvent
程序集: Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
name As String _
) As EventColumnInfo
Get
用法
Dim instance As EventColumnInfoCollection
Dim name As String
Dim value As EventColumnInfo
value = instance(name)
public EventColumnInfo this[
string name
] { get; }
public:
property EventColumnInfo^ default[String^ name] {
EventColumnInfo^ get (String^ name);
}
member Item : EventColumnInfo
JScript 支持使用索引属性,但不支持声明新索引属性。
参数
- name
类型:System.String
A string that specifies the name of the EventColumnInfo object.
属性值
类型:Microsoft.SqlServer.Management.XEvent.EventColumnInfo
Returns an EventColumnInfo object specified by the name parameter