Proprietà TargetCollection.Item (String)
Gets the Target 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 Target
Get
'Utilizzo
Dim instance As TargetCollection
Dim name As String
Dim value As Target
value = instance(name)
public Target this[
string name
] { get; }
public:
property Target^ default[String^ name] {
Target^ get (String^ name);
}
member Item : Target
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.Target
The Target object with the specified name