PerspectiveMeasureCollection.Remove 方法

定义

重载

Remove(PerspectiveMeasure)

从集合中移除指定的 PerspectiveMeasure

Remove(String)

从集合中删除具有指定 MeasureID 的 PerspectiveMeasure

Remove(PerspectiveMeasure, Boolean)

从集合中移除指定的 PerspectiveMeasure

Remove(String, Boolean)

从集合中删除具有指定 MeasureID 的 PerspectiveMeasure

Remove(PerspectiveMeasure)

从集合中移除指定的 PerspectiveMeasure

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

参数

item
PerspectiveMeasure

要删除的 PerspectiveMeasure

例外

指定的项为空引用 (在 Visual Basic 中为 Nothing)。

适用于

Remove(String)

从集合中删除具有指定 MeasureID 的 PerspectiveMeasure

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

参数

measureId
String

要删除的 PerspectiveMeasure 的 MeasureID。

适用于

Remove(PerspectiveMeasure, Boolean)

从集合中移除指定的 PerspectiveMeasure

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

参数

item
PerspectiveMeasure

要删除的 PerspectiveMeasure

cleanUp
Boolean

若要删除引用对象,则为 true;否则为 false。

例外

指定的项为空引用 (在 Visual Basic 中为 Nothing)。

注解

此 API 支持产品基础结构,不能在代码中直接使用。

适用于

Remove(String, Boolean)

从集合中删除具有指定 MeasureID 的 PerspectiveMeasure

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

参数

measureId
String

要删除的 PerspectiveMeasure 的 MeasureID。

cleanUp
Boolean

若要删除引用对象,则为 true;否则为 false。

注解

此 API 支持产品基础结构,不能在代码中直接使用。

适用于