Partager via


Méthode IDTSApplication100.GetDtsServerPackageInfos

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Function GetDtsServerPackageInfos ( _
    bstrPackageFolder As String, _
    bstrServerName As String _
) As IDTSPackageInfos100
'Utilisation
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

Paramètres

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

Valeur de retour

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

Voir aussi

Référence

IDTSApplication100 Interface

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper