Bagikan melalui


DtsContainer.Parent Property

Returns the parent container. The value is read-only.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Parent As DtsContainer
    Get
'Usage
Dim instance As DtsContainer
Dim value As DtsContainer

value = instance.Parent
[BrowsableAttribute(false)]
public DtsContainer Parent { get; }
[BrowsableAttribute(false)]
public:
property DtsContainer^ Parent {
    DtsContainer^ get ();
}
[<BrowsableAttribute(false)>]
member Parent : DtsContainer
function get Parent () : DtsContainer

Property Value

Type: Microsoft.SqlServer.Dts.Runtime.DtsContainer
Returns the DtsContainer object that is the parent of the current DtsContainer. Returns NULL if there is no parent.

Remarks

A package that runs other packages is called the parent package, and the packages that a parent workflow runs are considered its child packages. If this container is a child, the return value contains the parent package. If the current container is the package, this property returns NULL.