DtsContainer.Parent Property

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

命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

語法

'宣告
<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

屬性值

Returns the DtsContainer object that is the parent of the current DtsContainer. Returns NULL if there is no parent.

備註

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.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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