다음을 통해 공유


IDTSApplication100.GetDtsServerPackageInfos 메서드

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

Gets a IDTSPackageInfos100 collection that contains the packages stored in the SSIS Package Store on an instance of SQL Server, within the specified folder.

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

구문

‘선언
Function GetDtsServerPackageInfos ( _
    bstrPackageFolder As String, _
    bstrServerName As String _
) As IDTSPackageInfos100
‘사용 방법
Dim instance As IDTSApplication100 
Dim bstrPackageFolder As String 
Dim bstrServerName As String 
Dim returnValue As IDTSPackageInfos100 

returnValue = instance.GetDtsServerPackageInfos(bstrPackageFolder, _
    bstrServerName)
IDTSPackageInfos100 GetDtsServerPackageInfos(
    string bstrPackageFolder,
    string bstrServerName
)
IDTSPackageInfos100^ GetDtsServerPackageInfos(
    [InAttribute] String^ bstrPackageFolder, 
    [InAttribute] String^ bstrServerName
)
abstract GetDtsServerPackageInfos : 
        bstrPackageFolder:string * 
        bstrServerName:string -> IDTSPackageInfos100
function GetDtsServerPackageInfos(
    bstrPackageFolder : String, 
    bstrServerName : String
) : IDTSPackageInfos100

매개 변수

  • bstrPackageFolder
    유형: System.String
    The folder under Stored Packages that contains the packages you want to enumerate.
  • bstrServerName
    유형: System.String
    The name of the SQL Server instance where the packages reside.

반환 값

유형: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100
A IDTSPackageInfos100 collection that contains IDTSPackageInfo100 objects.

참고 항목

참조

IDTSApplication100 인터페이스

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