Partager via


Propriété Parent

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Parent As DtsContainer
    Get
'Utilisation
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

Valeur de propriété

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.

Notes

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.