다음을 통해 공유


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.