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)