Share via


VariableDispenserClass.Contains Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

Parameters

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

Return Value

Type: System.Boolean

Implements

IDTSVariableDispenser100.Contains(String)

See Also

Reference

VariableDispenserClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace