Partager via


Méthode EmbedPackage ()

Embeds the package inside of the Exec80PackageTask.

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly :  Microsoft.SqlServer.Exec80PackageTask (en Microsoft.SqlServer.Exec80PackageTask.dll)

Syntaxe

'Déclaration
Public Function EmbedPackage ( _
    pkg As Package _
) As Boolean
'Utilisation
Dim instance As Exec80PackageTask
Dim pkg As Package
Dim returnValue As Boolean

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

Paramètres

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

Valeur de retour

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