다음을 통해 공유


Target.Parent 속성

Gets the parent Session object for the Target object.

네임스페이스:  Microsoft.SqlServer.Management.XEvent
어셈블리:  Microsoft.SqlServer.Management.XEvent(Microsoft.SqlServer.Management.XEvent.dll)

구문

‘선언
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As Session 
    Get 
    Set
‘사용 방법
Dim instance As Target 
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)

속성 값

유형: Microsoft.SqlServer.Management.XEvent.Session
A Session object.

참고 항목

참조

Target 클래스

Microsoft.SqlServer.Management.XEvent 네임스페이스