Compartir a través de


IDTSProject100.ContainsPackage Método

Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.

Specified whether the package is contained in the project.

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxis

'Declaración
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 devuelto

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

Vea también

Referencia

IDTSProject100 Interfaz

Espacio de nombres Microsoft.SqlServer.Dts.Runtime.Wrapper