DtsContainer.Parent 属性

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

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
<BrowsableAttribute(False)> _
Public ReadOnly Property Parent As DtsContainer 
    Get
用法
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

属性值

类型:Microsoft.SqlServer.Dts.Runtime.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.

请参阅

参考

DtsContainer 类

Microsoft.SqlServer.Dts.Runtime 命名空间