共用方式為


PerspectiveMeasureGroupCollection.Remove Method

Definition

Overloads

Remove(PerspectiveMeasureGroup)

Removes the specified PerspectiveMeasureGroup from the collection.

Remove(String)

Removes the PerspectiveMeasureGroup with the specified MeasureGroupID from the collection.

Remove(PerspectiveMeasureGroup, Boolean)

Removes the specified PerspectiveMeasureGroup from the collection.

Remove(String, Boolean)

Removes the PerspectiveMeasureGroup with the specified MeasureGroupID from the collection.

Remove(PerspectiveMeasureGroup)

Removes the specified PerspectiveMeasureGroup from the collection.

public void Remove (Microsoft.AnalysisServices.PerspectiveMeasureGroup item);
override this.Remove : Microsoft.AnalysisServices.PerspectiveMeasureGroup -> unit
Public Sub Remove (item As PerspectiveMeasureGroup)

Parameters

Exceptions

The specified item is a null reference (Nothing in Visual Basic).

Applies to

Remove(String)

Removes the PerspectiveMeasureGroup with the specified MeasureGroupID from the collection.

public void Remove (string measureGroupId);
override this.Remove : string -> unit
Public Sub Remove (measureGroupId As String)

Parameters

measureGroupId
String

The MeasureGroupID of the PerspectiveMeasureGroup to be removed.

Applies to

Remove(PerspectiveMeasureGroup, Boolean)

Removes the specified PerspectiveMeasureGroup from the collection.

public void Remove (Microsoft.AnalysisServices.PerspectiveMeasureGroup item, bool cleanUp);
override this.Remove : Microsoft.AnalysisServices.PerspectiveMeasureGroup * bool -> unit
Public Sub Remove (item As PerspectiveMeasureGroup, cleanUp As Boolean)

Parameters

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 PerspectiveMeasureGroup with the specified MeasureGroupID from the collection.

public void Remove (string measureGroupId, bool cleanUp);
override this.Remove : string * bool -> unit
Public Sub Remove (measureGroupId As String, cleanUp As Boolean)

Parameters

measureGroupId
String

The MeasureGroupID of the PerspectiveMeasureGroup 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.

Applies to