共用方式為


PredSourceInfo.Parent 屬性

Gets or sets the parent Package 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 PredSourceInfo 
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
The parent Package object.

請參閱

參考

PredSourceInfo 類別

Microsoft.SqlServer.Management.XEvent 命名空間