CubeCollection.Remove CubeCollection.Remove CubeCollection.Remove Method

Definition

Removes a Cube from the collection.

Overloads

Remove(Cube, Boolean) Remove(Cube, Boolean) Remove(Cube, Boolean)

Removes the specified Cubefrom this collection.

Remove(Cube) Remove(Cube) Remove(Cube)

Removes the specified Cube from the collection.

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

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

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

Removes a Cube from this collection.

Remove(Cube, Boolean) Remove(Cube, Boolean) Remove(Cube, Boolean)

Removes the specified Cubefrom this collection.

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

The Cube to remove.

cleanUp
Boolean Boolean Boolean

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

Remove(Cube) Remove(Cube) Remove(Cube)

Removes the specified Cube from the collection.

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

The Cube to be removed.

Exceptions

item is not contained by the collection.

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

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

Exceptions

id is not contained by the collection.

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

Removes a Cube 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 Cube to be removed.

cleanUp
Boolean Boolean Boolean

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

Applies to