Partager via


Méthode Remove (Role)

Removes the specified Role from the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Sub Remove ( _
    item As Role _
)
'Utilisation
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
)

Paramètres

Exceptions

Exception Condition
ItemNotFoundException

item does not exist in the collection.