Compartilhar via


Método ApplicationClass.GetDtsServerPackageInfos

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxe

'Declaração
Public Overridable Function GetDtsServerPackageInfos ( _
    bstrPackageFolder As String, _
    bstrServerName As String _
) As IDTSPackageInfos100
'Uso
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

Parâmetros

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

Valor de retorno

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

Implementa

IDTSApplication100.GetDtsServerPackageInfos(String, String)

Consulte também

Referência

ApplicationClass Classe

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper