Compartilhar via


Método IDTSProject100.ContainsPackage

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Specified whether the package is contained in the project.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxe

'Declaração
Function ContainsPackage ( _
    bstrPackageStreamName As String _
) As Boolean
'Uso
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

Parâmetros

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

Valor de retorno

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

Consulte também

Referência

IDTSProject100 Interface

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper