Freigeben über


VariableDispenserClass.Contains-Methode

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

Specifies whether an item can be retrieve from the collection by using indexing without throwing an exception.

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

Syntax

'Declaration
Public Overridable Function Contains ( _
    Variable As String _
) As Boolean
'Usage
Dim instance As VariableDispenserClass 
Dim Variable As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(Variable)
public virtual bool Contains(
    string Variable
)
public:
virtual bool Contains(
    [InAttribute] String^ Variable
)
abstract Contains : 
        Variable:string -> bool  
override Contains : 
        Variable:string -> bool
public function Contains(
    Variable : String
) : boolean

Parameter

  • Variable
    Typ: System.String
    The name of the variable to locate in the collection.

Rückgabewert

Typ: System.Boolean

Implementiert

IDTSVariableDispenser100.Contains(String)

Siehe auch

Verweis

VariableDispenserClass Klasse

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace