IDTSConnections100.Contains 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Determines whether the collection contains the connection manager with the specified key.
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
Function Contains ( _
Key As Object _
) As Boolean
用法
Dim instance As IDTSConnections100
Dim Key As Object
Dim returnValue As Boolean
returnValue = instance.Contains(Key)
bool Contains(
Object Key
)
bool Contains(
[InAttribute] Object^ Key
)
abstract Contains :
Key:Object -> bool
function Contains(
Key : Object
) : boolean
参数
- Key
类型:System.Object
The name, identity, ID, or index of the connection manager to locate in the collection.
返回值
类型:System.Boolean
true if the connection manager is found in the collection; otherwise, false.
注释
For more information, see Connections.