Compartir a través de


EmbedPackage Método ()

Embeds the package inside of the Exec80PackageTask.

Espacio de nombres:  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Ensamblado:  Microsoft.SqlServer.Exec80PackageTask (en Microsoft.SqlServer.Exec80PackageTask.dll)

Sintaxis

'Declaración
Public Function EmbedPackage ( _
    pkg As Package _
) As Boolean
'Uso
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

Parámetros

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

Valor devuelto

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