Méthode DatabasePermissionCollection.Remove (DatabasePermission)
Removes the specified DatabasePermission from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Sub Remove ( _
item As DatabasePermission _
)
'Utilisation
Dim instance As DatabasePermissionCollection
Dim item As DatabasePermission
instance.Remove(item)
public void Remove(
DatabasePermission item
)
public:
void Remove(
DatabasePermission^ item
)
member Remove :
item:DatabasePermission -> unit
public function Remove(
item : DatabasePermission
)
Paramètres
- item
Type : Microsoft.AnalysisServices.DatabasePermission
The DatabasePermission to be removed.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item is not contained by the collection. |