Dela via


AttributeRelationshipCollection.Remove Method (AttributeRelationship)

Removes the specified AttributeRelationship from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub Remove ( _
    item As AttributeRelationship _
)
'Usage
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
)

Parameters

Exceptions

Exception Condition
ItemNotFoundException

item is not contained by the collection.