PerspectiveMeasureCollection.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Remove(PerspectiveMeasure) |
Removes the specified PerspectiveMeasure from the collection. |
Remove(String) |
Removes the PerspectiveMeasure with the specified MeasureID from the collection. |
Remove(PerspectiveMeasure, Boolean) |
Removes the specified PerspectiveMeasure from the collection. |
Remove(String, Boolean) |
Removes the PerspectiveMeasure with the specified MeasureID from the collection. |
Remove(PerspectiveMeasure)
Removes the specified PerspectiveMeasure from the collection.
public void Remove (Microsoft.AnalysisServices.PerspectiveMeasure item);
override this.Remove : Microsoft.AnalysisServices.PerspectiveMeasure -> unit
Public Sub Remove (item As PerspectiveMeasure)
Parameters
- item
- PerspectiveMeasure
The PerspectiveMeasure to be removed.
Exceptions
The specified item is a null reference (Nothing in Visual Basic).
Applies to
Remove(String)
Removes the PerspectiveMeasure with the specified MeasureID from the collection.
public void Remove (string measureId);
override this.Remove : string -> unit
Public Sub Remove (measureId As String)
Parameters
- measureId
- String
The MeasureID of the PerspectiveMeasure to be removed.
Applies to
Remove(PerspectiveMeasure, Boolean)
Removes the specified PerspectiveMeasure from the collection.
public void Remove (Microsoft.AnalysisServices.PerspectiveMeasure item, bool cleanUp);
override this.Remove : Microsoft.AnalysisServices.PerspectiveMeasure * bool -> unit
Public Sub Remove (item As PerspectiveMeasure, cleanUp As Boolean)
Parameters
- item
- PerspectiveMeasure
The PerspectiveMeasure to be removed.
- cleanUp
- Boolean
True, if referencing objects are to be deleted; otherwise, false.
Exceptions
The specified item is a null reference (Nothing in Visual Basic).
Remarks
This API supports the product infrastructure and is not intended to be used directly from your code.
Applies to
Remove(String, Boolean)
Removes the PerspectiveMeasure with the specified MeasureID from the collection.
public void Remove (string measureId, bool cleanUp);
override this.Remove : string * bool -> unit
Public Sub Remove (measureId As String, cleanUp As Boolean)
Parameters
- measureId
- String
The MeasureID of the PerspectiveMeasure to be removed.
- cleanUp
- Boolean
True, if referencing objects are to be deleted; otherwise, false.
Remarks
This API supports the product infrastructure and is not intended to be used directly from your code.