Exec80PackageTask.EmbedPackage Method ()

Embeds the package inside of the Exec80PackageTask.

Namespace:  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly:  Microsoft.SqlServer.Exec80PackageTask (in Microsoft.SqlServer.Exec80PackageTask.dll)


Public Function EmbedPackage ( _
    pkg As Package _
) As Boolean
Dim instance As Exec80PackageTask
Dim pkg As Package
Dim returnValue As Boolean

returnValue = instance.EmbedPackage(pkg)
public bool EmbedPackage(
    Package pkg
bool EmbedPackage(
    Package^ pkg
member EmbedPackage : 
        pkg:Package -> bool 
public function EmbedPackage(
    pkg : Package
) : boolean


  • pkg
    Type: Package
    The name of the package to embed. This is usually the package loaded by the LoadPackage method.

Return Value

Type: System.Boolean
true if there was a package in the parameter, false if it was null or empty.