Share via


IDTSVariables100.Contains Method

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

Determines whether the items in the collection can be accessed by using indexing without throwing an exception.

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

Syntax

'Declaration
Function Contains ( _
    Index As Object _
) As Boolean
'Usage
Dim instance As IDTSVariables100 
Dim Index As Object 
Dim returnValue As Boolean 

returnValue = instance.Contains(Index)
bool Contains(
    Object Index
)
bool Contains(
    [InAttribute] Object^ Index
)
abstract Contains : 
        Index:Object -> bool
function Contains(
    Index : Object
) : boolean

Parameters

  • Index
    Type: System.Object
    The name, ID, description, or index of the variable to locate in the collection.

Return Value

Type: System.Boolean
true if the collection can be accessed by using indexing; otherwise, false.

Remarks

For more information, see Variables.

See Also

Reference

IDTSVariables100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace