Partager via


Méthode IDTSProject100.GetConfiguredPackageByName

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 the configured package by name.

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

Syntaxe

'Déclaration
Function GetConfiguredPackageByName ( _
    bstrPackageStreamName As String _
) As IDTSPackage100
'Utilisation
Dim instance As IDTSProject100 
Dim bstrPackageStreamName As String 
Dim returnValue As IDTSPackage100 

returnValue = instance.GetConfiguredPackageByName(bstrPackageStreamName)
IDTSPackage100 GetConfiguredPackageByName(
    string bstrPackageStreamName
)
IDTSPackage100^ GetConfiguredPackageByName(
    [InAttribute] String^ bstrPackageStreamName
)
abstract GetConfiguredPackageByName : 
        bstrPackageStreamName:string -> IDTSPackage100
function GetConfiguredPackageByName(
    bstrPackageStreamName : String
) : IDTSPackage100

Paramètres

  • bstrPackageStreamName
    Type : System.String
    The package stream name.

Valeur de retour

Type : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
The returned package.

Voir aussi

Référence

IDTSProject100 Interface

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