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.