다음을 통해 공유


LoadDTS8Package 메서드

이 API는 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

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

구문

‘선언
Public Shared Function LoadDTS8Package ( _
    pkgSrc As String, _
    sourceUser As String, _
    sourcePwd As String, _
    srcType As Integer, _
    bUseTrustedConnection As Boolean, _
    packageName As String, _
    packagePassword As String, _
    packageID As String, _
    packageVersionGUID As String _
) As Package
‘사용 방법
Dim pkgSrc As String
Dim sourceUser As String
Dim sourcePwd As String
Dim srcType As Integer
Dim bUseTrustedConnection As Boolean
Dim packageName As String
Dim packagePassword As String
Dim packageID As String
Dim packageVersionGUID As String
Dim returnValue As Package

returnValue = PackageUtils.LoadDTS8Package(pkgSrc, _
    sourceUser, sourcePwd, srcType, bUseTrustedConnection, _
    packageName, packagePassword, packageID, _
    packageVersionGUID)
public static Package LoadDTS8Package(
    string pkgSrc,
    string sourceUser,
    string sourcePwd,
    int srcType,
    bool bUseTrustedConnection,
    string packageName,
    string packagePassword,
    string packageID,
    string packageVersionGUID
)
public:
static Package^ LoadDTS8Package(
    String^ pkgSrc, 
    String^ sourceUser, 
    String^ sourcePwd, 
    int srcType, 
    bool bUseTrustedConnection, 
    String^ packageName, 
    String^ packagePassword, 
    String^ packageID, 
    String^ packageVersionGUID
)
static member LoadDTS8Package : 
        pkgSrc:string * 
        sourceUser:string * 
        sourcePwd:string * 
        srcType:int * 
        bUseTrustedConnection:bool * 
        packageName:string * 
        packagePassword:string * 
        packageID:string * 
        packageVersionGUID:string -> Package 
public static function LoadDTS8Package(
    pkgSrc : String, 
    sourceUser : String, 
    sourcePwd : String, 
    srcType : int, 
    bUseTrustedConnection : boolean, 
    packageName : String, 
    packagePassword : String, 
    packageID : String, 
    packageVersionGUID : String
) : Package

매개 변수

반환 값

유형: Package