Partager via


Méthode IDTSProject100.ContainsPackage

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

Specified whether the package is contained in the project.

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

Syntaxe

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

returnValue = instance.ContainsPackage(bstrPackageStreamName)
bool ContainsPackage(
    string bstrPackageStreamName
)
bool ContainsPackage(
    [InAttribute] String^ bstrPackageStreamName
)
abstract ContainsPackage : 
        bstrPackageStreamName:string -> bool
function ContainsPackage(
    bstrPackageStreamName : String
) : boolean

Paramètres

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

Valeur de retour

Type : System.Boolean
True if the package is contained in the project; otherwise, false.

Voir aussi

Référence

IDTSProject100 Interface

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