Metodo IDTSProject100.ContainsPackage
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Specified whether the package is contained in the project.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintassi
'Dichiarazione
Function ContainsPackage ( _
bstrPackageStreamName As String _
) As Boolean
'Utilizzo
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
Parametri
- bstrPackageStreamName
Tipo: System.String
The stream name of the package.
Valore restituito
Tipo: System.Boolean
True if the package is contained in the project; otherwise, false.