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 Session 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 Session
Get
'Usage
Dim instance As SessionCollection
Dim name As String
Dim value As Session
value = instance(name)
public Session this[
string name
] { get; }
public:
property Session^ default[String^ name] {
Session^ get (String^ name);
}
member Item : Session
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.Session
A Session object.