AttributeRelationshipCollection.Remove Method (AttributeRelationship, Boolean)
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Removes the specified AttributeRelationship from this collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
item As AttributeRelationship, _
cleanUp As Boolean _
)
'Usage
Dim instance As AttributeRelationshipCollection
Dim item As AttributeRelationship
Dim cleanUp As Boolean
instance.Remove(item, cleanUp)
public void Remove(
AttributeRelationship item,
bool cleanUp
)
public:
void Remove(
AttributeRelationship^ item,
bool cleanUp
)
member Remove :
item:AttributeRelationship *
cleanUp:bool -> unit
public function Remove(
item : AttributeRelationship,
cleanUp : boolean
)
Parameters
- item
Type: Microsoft.AnalysisServices.AttributeRelationship
The AttributeRelationship to remove.
- cleanUp
Type: System.Boolean
true to delete the referencing objects; otherwise, false.