共用方式為


EmbedPackage 方法 ()

Embeds the package inside of the Exec80PackageTask.

命名空間:  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
組件:  Microsoft.SqlServer.Exec80PackageTask (在 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
)
public:
bool EmbedPackage(
    Package^ pkg
)
member EmbedPackage : 
        pkg:Package -> bool 
public function EmbedPackage(
    pkg : Package
) : boolean

參數

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

傳回值

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