Share via


RoleCollection.Remove Method (Role)

Removes the specified Role from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    item As Role _
)
'Usage
Dim instance As RoleCollection
Dim item As Role

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

Parameters

Exceptions

Exception Condition
ItemNotFoundException

item does not exist in the collection.