Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the Target object with the specified name.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As Target
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A string value that specifies the name.
Property Value
Type: Microsoft.SqlServer.Management.XEvent.Target
The Target object with the specified name