IModelComponentCollection.Contains Method (IModelComponent)
Applies To: SQL Server (starting with 2016)
Indicates whether the collection contains a specified IModelComponent.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
bool Contains(
IModelComponent obj
)
bool Contains(
IModelComponent^ obj
)
abstract Contains :
obj:IModelComponent -> bool
Function Contains (
obj As IModelComponent
) As Boolean
Parameters
obj
Type: Microsoft.AnalysisServices.IModelComponentThe IModelComponent to be located.
Return Value
Type: System.Boolean
true if the IModelComponent is contained in the collection; otherwise, false.
See Also
IModelComponentCollection Interface
Microsoft.AnalysisServices Namespace
Return to top