Partilhar via


Propriedade do RDL Event.Parent

Gets or sets the parent Session object for an event.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)

Sintaxe

'Declaração
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As Session 
    Get 
    Set
'Uso
Dim instance As Event 
Dim value As Session 

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)]
public Session Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject, SfcObjectCardinality::One)]
public:
property Session^ Parent {
    Session^ get ();
    void set (Session^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)>]
member Parent : Session with get, set
function get Parent () : Session 
function set Parent (value : Session)

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.XEvent.Session
The parent Session object for an event.

Consulte também

Referência

Event Classe

Namespace Microsoft.SqlServer.Management.XEvent