IModelComponentCollection.Remove Method (IModelComponent, Boolean)
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Removes an IModelComponent from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Sub Remove ( _
obj As IModelComponent, _
cleanUp As Boolean _
)
'Usage
Dim instance As IModelComponentCollection
Dim obj As IModelComponent
Dim cleanUp As Boolean
instance.Remove(obj, cleanUp)
void Remove(
IModelComponent obj,
bool cleanUp
)
void Remove(
IModelComponent^ obj,
bool cleanUp
)
abstract Remove :
obj:IModelComponent *
cleanUp:bool -> unit
function Remove(
obj : IModelComponent,
cleanUp : boolean
)
Parameters
- obj
Type: Microsoft.AnalysisServices.IModelComponent
The IModelComponent to be removed.
- cleanUp
Type: System.Boolean
true if it will delete referencing objects; otherwise, false.