다음을 통해 공유


DtsConvert.GetWrapper 메서드 (IDTSPackage100)

Gets the managed Package object that corresponds to the specified native IDTSPackage100 object.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public Shared Function GetWrapper ( _
    ipkg As IDTSPackage100 _
) As Package
‘사용 방법
Dim ipkg As IDTSPackage100 
Dim returnValue As Package 

returnValue = DtsConvert.GetWrapper(ipkg)
public static Package GetWrapper(
    IDTSPackage100 ipkg
)
public:
static Package^ GetWrapper(
    IDTSPackage100^ ipkg
)
static member GetWrapper : 
        ipkg:IDTSPackage100 -> Package
public static function GetWrapper(
    ipkg : IDTSPackage100
) : Package

매개 변수

반환 값

유형: Microsoft.SqlServer.Dts.Runtime.Package
The managed Package object that corresponds to the specified native IDTSPackage100 object.

주의

Use the DtsConvert.GetWrapper(IDTSPackage100) method instead of the obsolete ToPackage method.

참고 항목

참조

DtsConvert 클래스

GetWrapper 오버로드

Microsoft.SqlServer.Dts.Runtime 네임스페이스