다음을 통해 공유


LoadPkgInfoFromSQLServer 메서드

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

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

구문

‘선언
Public Shared Function LoadPkgInfoFromSQLServer ( _
    sServer As String, _
    sUser As String, _
    sPwd As String, _
    bUseTrustedConnection As Boolean, _
    returnLatest As Boolean _
) As PackageInfos
‘사용 방법
Dim sServer As String
Dim sUser As String
Dim sPwd As String
Dim bUseTrustedConnection As Boolean
Dim returnLatest As Boolean
Dim returnValue As PackageInfos

returnValue = PackageUtils.LoadPkgInfoFromSQLServer(sServer, _
    sUser, sPwd, bUseTrustedConnection, _
    returnLatest)
public static PackageInfos LoadPkgInfoFromSQLServer(
    string sServer,
    string sUser,
    string sPwd,
    bool bUseTrustedConnection,
    bool returnLatest
)
public:
static PackageInfos^ LoadPkgInfoFromSQLServer(
    String^ sServer, 
    String^ sUser, 
    String^ sPwd, 
    bool bUseTrustedConnection, 
    bool returnLatest
)
static member LoadPkgInfoFromSQLServer : 
        sServer:string * 
        sUser:string * 
        sPwd:string * 
        bUseTrustedConnection:bool * 
        returnLatest:bool -> PackageInfos 
public static function LoadPkgInfoFromSQLServer(
    sServer : String, 
    sUser : String, 
    sPwd : String, 
    bUseTrustedConnection : boolean, 
    returnLatest : boolean
) : PackageInfos

매개 변수

반환 값

유형: PackageInfos