Méthode IDTSVariables100.Contains

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Function Contains ( _
    Index As Object _
) As Boolean
'Utilisation
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

Paramètres

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

Valeur de retour

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

Notes

For more information, see Variables.

Voir aussi

Référence

IDTSVariables100 Interface

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper