PerspectiveCalculationCollection.Remove Method (PerspectiveCalculation, Boolean)
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Removes the specified PerspectiveCalculation from this collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
item As PerspectiveCalculation, _
cleanUp As Boolean _
)
'Usage
Dim instance As PerspectiveCalculationCollection
Dim item As PerspectiveCalculation
Dim cleanUp As Boolean
instance.Remove(item, cleanUp)
public void Remove(
PerspectiveCalculation item,
bool cleanUp
)
public:
void Remove(
PerspectiveCalculation^ item,
bool cleanUp
)
member Remove :
item:PerspectiveCalculation *
cleanUp:bool -> unit
public function Remove(
item : PerspectiveCalculation,
cleanUp : boolean
)
Parameters
- item
Type: Microsoft.AnalysisServices.PerspectiveCalculation
The PerspectiveCalculation to remove.
- cleanUp
Type: System.Boolean
True if it will not delete referencing objects; otherwise, False