IDTSVariableDispenser100.Contains 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Specifies whether an item can be retrieve from the collection by using indexing without throwing an exception. For more information, see VariableDispenserClass.
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
Function Contains ( _
Variable As String _
) As Boolean
用法
Dim instance As IDTSVariableDispenser100
Dim Variable As String
Dim returnValue As Boolean
returnValue = instance.Contains(Variable)
bool Contains(
string Variable
)
bool Contains(
[InAttribute] String^ Variable
)
abstract Contains :
Variable:string -> bool
function Contains(
Variable : String
) : boolean
参数
- Variable
类型:System.String
The name of the variable to locate in the collection.
返回值
类型:System.Boolean
An item to retrieve from the collection.