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.