RoleCollection.Remove Method (Role)

Removes the specified Role from the collection.

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

Syntax

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

instance.Remove(item)

Parameters

Exceptions

Exception Condition
ItemNotFoundException

item does not exist in the collection.

See Also

Reference

RoleCollection Class

Remove Overload

Microsoft.AnalysisServices Namespace