共用方式為


Remove 方法 (AttributeRelationship)

Removes the specified AttributeRelationship from the collection.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Sub Remove ( _
    item As AttributeRelationship _
)
'用途
Dim instance As AttributeRelationshipCollection
Dim item As AttributeRelationship

instance.Remove(item)
public void Remove(
    AttributeRelationship item
)
public:
void Remove(
    AttributeRelationship^ item
)
member Remove : 
        item:AttributeRelationship -> unit 
public function Remove(
    item : AttributeRelationship
)

參數

例外狀況

例外狀況 條件
ItemNotFoundException

item is not contained by the collection.