Proprietà PredSourceInfoCollection.Item (String)
Gets the PredSourceInfo object with the specified name.
Spazio dei nomi Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As PredSourceInfo
Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System.String
A string value that specifies the name.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.XEvent.PredSourceInfo
The PredSourceInfo object with the specified name.