Udostępnij za pośrednictwem


PerspectiveKpiCollection.Remove Method

Definition

Overloads

Remove(PerspectiveKpi)

Removes the specified PerspectiveKpi from the collection.

Remove(String)

Removes the PerspectiveKpi with the specified KpiID from the collection.

Remove(PerspectiveKpi, Boolean)

Removes the specified PerspectiveKpi from the collection.

Remove(String, Boolean)

Removes the PerspectiveKpi with the specified KpiID from the collection.

Remove(PerspectiveKpi)

Removes the specified PerspectiveKpi from the collection.

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

Parameters

item
PerspectiveKpi

The PerspectiveKpi to be removed.

Exceptions

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

Applies to

Remove(String)

Removes the PerspectiveKpi with the specified KpiID from the collection.

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

Parameters

id
String

The KpiID of the PerspectiveKpi to be removed.

Applies to

Remove(PerspectiveKpi, Boolean)

Removes the specified PerspectiveKpi from the collection.

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

Parameters

item
PerspectiveKpi

The PerspectiveKpi to be removed.

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 PerspectiveKpi with the specified KpiID from the collection.

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

Parameters

id
String

The KpiID of the PerspectiveKpi 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