Méthode RoleCollection.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
- item
Type : Microsoft.AnalysisServices.Role
The Role to remove.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item does not exist in the collection. |