共用方式為


ActionInfo.Parent 屬性

Gets or sets the parent Package object of an Action object.

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

語法

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

value = instance.Parent

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

屬性值

型別:Microsoft.SqlServer.Management.XEvent.Package
An Package object that specifies the parent.

請參閱

參考

ActionInfo 類別

Microsoft.SqlServer.Management.XEvent 命名空間