Méthode RoleCollection.Remove (String)
Removes the Role that has the specified identifier from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Sub Remove ( _
id As String _
)
'Utilisation
Dim instance As RoleCollection
Dim id As String
instance.Remove(id)
public void Remove(
string id
)
public:
void Remove(
String^ id
)
member Remove :
id:string -> unit
public function Remove(
id : String
)
Paramètres
- id
Type : System.String
The identifier of the Role to remove.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | id does not exist in the collection. |