Compartir a través de


SessionCollection.Item Propiedad (String)

Gets the Session 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 Session 
    Get
'Uso
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 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.Session
A Session object.

Vea también

Referencia

SessionCollection Clase

Sobrecarga de Item

Espacio de nombres Microsoft.SqlServer.Management.XEvent