Gets the PredSourceInfo 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 PredSourceInfo
Get
用法
Dim instance As PredSourceInfoCollection
Dim name As String
Dim value As PredSourceInfo
value = instance(name)
public PredSourceInfo this[
string name
] { get; }
public:
virtual property PredSourceInfo^ default[String^ name] {
PredSourceInfo^ get (String^ name) sealed;
}
abstract Item : PredSourceInfo
override Item : PredSourceInfo
JScript 支持使用索引属性,但不支持声明新索引属性。
参数
- name
类型:System.String
A string value that specifies the name.
属性值
类型:Microsoft.SqlServer.Management.XEvent.PredSourceInfo
The PredSourceInfo object with the specified name.