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