Propriété Event.Parent
Gets or sets the parent Session object for an event.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As Session
Get
Set
'Utilisation
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)
Valeur de propriété
Type : Microsoft.SqlServer.Management.XEvent.Session
The parent Session object for an event.