Freigeben über


IDTSVariables100.Contains-Methode

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

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

Parameter

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

Rückgabewert

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

Hinweise

For more information, see Variables.

Siehe auch

Verweis

IDTSVariables100 Schnittstelle

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace