MeasureCollection.Remove MeasureCollection.Remove MeasureCollection.Remove Method

Definition

Removes a Measure from the collection.

Overloads

Remove(Measure, Boolean) Remove(Measure, Boolean) Remove(Measure, Boolean)

Removes the specified Measure from the collection.

Remove(Measure) Remove(Measure) Remove(Measure)

Removes the specified Measure from the collection.

Remove(String) Remove(String) Remove(String)

Removes the Measure, with the specified identifier, from the collection.

Remove(String, Boolean) Remove(String, Boolean) Remove(String, Boolean)

Removes the Measure, with the specified identifier, from the collection.

Remove(Measure, Boolean) Remove(Measure, Boolean) Remove(Measure, Boolean)

Removes the specified Measure from the collection.

public:
 void Remove(Microsoft::AnalysisServices::Measure ^ item, bool cleanUp);
public void Remove (Microsoft.AnalysisServices.Measure item, bool cleanUp);
Public Sub Remove (item As Measure, cleanUp As Boolean)
Parameters
item
Measure Measure Measure

The Measure to be removed.

cleanUp
Boolean Boolean Boolean

true to delete referencing objects; otherwise, false.

Remove(Measure) Remove(Measure) Remove(Measure)

Removes the specified Measure from the collection.

public:
 void Remove(Microsoft::AnalysisServices::Measure ^ item);
public void Remove (Microsoft.AnalysisServices.Measure item);
Public Sub Remove (item As Measure)
Parameters
item
Measure Measure Measure

The Measure to be removed.

Exceptions

item is not contained by the collection.

Remove(String) Remove(String) Remove(String)

Removes the Measure, with the specified identifier, from the collection.

public:
 void Remove(System::String ^ id);
public void Remove (string id);
Public Sub Remove (id As String)
Parameters
id
String String String

The identifier of the Measure to be removed.

Exceptions

id is not contained by the collection.

Remove(String, Boolean) Remove(String, Boolean) Remove(String, Boolean)

Removes the Measure, with the specified identifier, from the collection.

public:
 void Remove(System::String ^ id, bool cleanUp);
public void Remove (string id, bool cleanUp);
Public Sub Remove (id As String, cleanUp As Boolean)
Parameters
id
String String String

The identifier of the Measure to be removed.

cleanUp
Boolean Boolean Boolean

true to delete referencing objects; otherwise, false.

Applies to