IModelComponentCollection.Contains 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Indicates whether the collection contains a specified IModelComponent.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Function Contains ( _
obj As IModelComponent _
) As Boolean
用法
Dim instance As IModelComponentCollection
Dim obj As IModelComponent
Dim returnValue As Boolean
returnValue = instance.Contains(obj)
bool Contains(
IModelComponent obj
)
bool Contains(
IModelComponent^ obj
)
abstract Contains :
obj:IModelComponent -> bool
function Contains(
obj : IModelComponent
) : boolean
参数
- obj
类型:Microsoft.AnalysisServices.IModelComponent
The IModelComponent to be located.
返回值
类型:System.Boolean
true if the IModelComponent is contained in the collection; otherwise, false.