Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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.