다음을 통해 공유


Application.GetPackageInfos2 메서드

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

Gets a PackageInfos collection that contains the packages stored in an instance of SQL Server, within the specified logical folder, by using the server name, user name, and password.

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

구문

‘선언
Public Function GetPackageInfos2 ( _
    strFolder As String, _
    connectionObject As Object _
) As PackageInfos
‘사용 방법
Dim instance As Application 
Dim strFolder As String 
Dim connectionObject As Object 
Dim returnValue As PackageInfos 

returnValue = instance.GetPackageInfos2(strFolder, _
    connectionObject)
public PackageInfos GetPackageInfos2(
    string strFolder,
    Object connectionObject
)
public:
PackageInfos^ GetPackageInfos2(
    String^ strFolder, 
    Object^ connectionObject
)
member GetPackageInfos2 : 
        strFolder:string * 
        connectionObject:Object -> PackageInfos
public function GetPackageInfos2(
    strFolder : String, 
    connectionObject : Object
) : PackageInfos

매개 변수

  • strFolder
    유형: System.String
    The logical folder that contains the packages you want to enumerate. If you want package information from the File System folder in the SSIS Package Store, use the GetDtsServerPackageInfos method. The logical folders in which packages are stored within MSDB can be created from the Stored Packages\MSDB node in Management Studio, by the dtutil.exe command prompt utility, or by the CreateFolderOnSqlServer method.

반환 값

유형: Microsoft.SqlServer.Dts.Runtime.PackageInfos
The collection that contains the packages.

참고 항목

참조

Application 클래스

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