PerspectiveAttributeCollection.Remove 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Remove(PerspectiveAttribute) |
從集合移除指定的 PerspectiveAttribute。 |
Remove(String) |
從集合中移除具有指定 AttributeID 的 PerspectiveAttribute。 |
Remove(PerspectiveAttribute, Boolean) |
從集合移除指定的 PerspectiveAttribute。 |
Remove(String, Boolean) |
從集合中移除具有指定 AttributeID 的 PerspectiveAttribute。 |
Remove(PerspectiveAttribute)
從集合移除指定的 PerspectiveAttribute。
public void Remove(Microsoft.AnalysisServices.PerspectiveAttribute item);
override this.Remove : Microsoft.AnalysisServices.PerspectiveAttribute -> unit
Public Sub Remove (item As PerspectiveAttribute)
參數
- item
- PerspectiveAttribute
要移除的 PerspectiveAttribute。
例外狀況
指定的項目為 Null 參考 (Visual Basic 中的 Nothing)。
適用於
Remove(String)
從集合中移除具有指定 AttributeID 的 PerspectiveAttribute。
public void Remove(string attributeId);
override this.Remove : string -> unit
Public Sub Remove (attributeId As String)
參數
- attributeId
- String
要移除之 PerspectiveAttribute 的 AttributeID。
適用於
Remove(PerspectiveAttribute, Boolean)
從集合移除指定的 PerspectiveAttribute。
public void Remove(Microsoft.AnalysisServices.PerspectiveAttribute item, bool cleanUp);
override this.Remove : Microsoft.AnalysisServices.PerspectiveAttribute * bool -> unit
Public Sub Remove (item As PerspectiveAttribute, cleanUp As Boolean)
參數
- item
- PerspectiveAttribute
要移除的 PerspectiveAttribute。
- cleanUp
- Boolean
如果要刪除參考的物件,則為 true;否則為 false。
例外狀況
指定的項目為 Null 參考 (Visual Basic 中的 Nothing)。
備註
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
適用於
Remove(String, Boolean)
從集合中移除具有指定 AttributeID 的 PerspectiveAttribute。
public void Remove(string attributeId, bool cleanUp);
override this.Remove : string * bool -> unit
Public Sub Remove (attributeId As String, cleanUp As Boolean)
參數
- attributeId
- String
要移除之 PerspectiveAttribute 的 AttributeID。
- cleanUp
- Boolean
如果要刪除參考的物件,則為 true;否則為 false。
備註
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。