Partilhar via


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
[BrowsableAttribute(false)] 
public DtsContainer Parent { get; }
[BrowsableAttribute(false)] 
public:
property DtsContainer^ Parent {
    DtsContainer^ get ();
}
/** @property */
public DtsContainer get_Parent ()
public function get Parent () : DtsContainer

Property Value

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DtsContainer Class
DtsContainer Members
Microsoft.SqlServer.Dts.Runtime Namespace