다음을 통해 공유


ApplicationClass.GetDtsServerPackageInfos 메서드

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

Gets a PackageInfos 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)

구문

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

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

매개 변수

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

반환 값

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

구현

IDTSApplication100.GetDtsServerPackageInfos(String, String)

참고 항목

참조

ApplicationClass 클래스

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