IDTSVariableDispenser100.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. For more information, see VariableDispenserClass.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Function Contains ( _
Variable As String _
) As Boolean
'Usage
Dim instance As IDTSVariableDispenser100
Dim Variable As String
Dim returnValue As Boolean
returnValue = instance.Contains(Variable)
bool Contains(
string Variable
)
bool Contains(
[InAttribute] String^ Variable
)
abstract Contains :
Variable:string -> bool
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
An item to retrieve from the collection.