共用方式為


EventColumnInfo.Parent 屬性

Gets or sets the SfcInstance object that is the parent of the current object.

命名空間:  Microsoft.SqlServer.Management.XEvent
組件:  Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As EventInfo 
    Get 
    Set
'用途
Dim instance As EventColumnInfo 
Dim value As EventInfo 

value = instance.Parent

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

屬性值

型別:Microsoft.SqlServer.Management.XEvent.EventInfo
An SfcInstance object that is the parent of the current object.

請參閱

參考

EventColumnInfo 類別

Microsoft.SqlServer.Management.XEvent 命名空間