Freigeben über


IDTSProject100.ContainsPackage-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

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

Parameter

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

Rückgabewert

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

Siehe auch

Verweis

IDTSProject100 Schnittstelle

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace