PredSourceInfoCollection.Item Propiedad (String)
Gets the PredSourceInfo object with the specified name.
Espacio de nombres: Microsoft.SqlServer.Management.XEvent
Ensamblado: Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As PredSourceInfo
Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
A string value that specifies the name.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.XEvent.PredSourceInfo
The PredSourceInfo object with the specified name.