DimensionCollection.Remove DimensionCollection.Remove DimensionCollection.Remove Method

Definition

Removes a Dimension from the collection.

Overloads

Remove(Dimension, Boolean) Remove(Dimension, Boolean) Remove(Dimension, Boolean)

Removes the specified Dimension from this collection.

Remove(Dimension) Remove(Dimension) Remove(Dimension)

Removes the specified Dimension from the collection.

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

Removes the Dimension with the specified identifier from the collection.

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

Removes a Dimension from this collection.

Remove(Dimension, Boolean) Remove(Dimension, Boolean) Remove(Dimension, Boolean)

Removes the specified Dimension from this collection.

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

The Dimension to remove.

cleanUp
Boolean Boolean Boolean

True if it will delete referencing objects; otherwise, false.

Remove(Dimension) Remove(Dimension) Remove(Dimension)

Removes the specified Dimension from the collection.

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

The Dimension to be removed.

Exceptions

item is not contained by the collection.

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

Removes the Dimension 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 Dimension to be removed.

Exceptions

id is not contained by the collection.

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

Removes a Dimension from this 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 ID of the Dimension to be removed.

cleanUp
Boolean Boolean Boolean

True if it will delete referencing objects; otherwise, false.

Applies to