Поделиться через


Метод IDTSVariables100.Contains

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

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

Пространство имен:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка:  Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)

Синтаксис

'Декларация
Function Contains ( _
    Index As Object _
) As Boolean
'Применение
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

Параметры

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

Возвращаемое значение

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

Замечания

For more information, see Variables.

См. также

Справочник

IDTSVariables100 Интерфейс

Пространство имен Microsoft.SqlServer.Dts.Runtime.Wrapper