IDTSProject100.ContainsPackage Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Specified whether the package is contained in the project.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Function ContainsPackage ( _
bstrPackageStreamName As String _
) As Boolean
'Usage
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
Parameters
- bstrPackageStreamName
Type: System.String
The stream name of the package.
Return Value
Type: System.Boolean
True if the package is contained in the project; otherwise, false.