KpiCollection.Remove KpiCollection.Remove KpiCollection.Remove Method

Definition

Removes a Kpi from the collection.

Overloads

Remove(Kpi) Remove(Kpi) Remove(Kpi)

Removes the specified Kpi from the collection.

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

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

Remove(Kpi, Boolean) Remove(Kpi, Boolean) Remove(Kpi, Boolean)

Removes the specified KpiCollection from this collection.

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

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

Remove(Kpi) Remove(Kpi) Remove(Kpi)

Removes the specified Kpi from the collection.

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

The Kpi to be removed.

Exceptions

item is not contained by the collection.

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

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

Exceptions

id is not contained by the collection.

Remove(Kpi, Boolean) Remove(Kpi, Boolean) Remove(Kpi, Boolean)

Removes the specified KpiCollection from this collection.

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

The KpiCollection to remove.

cleanUp
Boolean Boolean Boolean

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

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

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

cleanUp
Boolean Boolean Boolean

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

Applies to