Dela via


DatabasePermissionCollection.Remove Method (DatabasePermission)

Removes the specified DatabasePermission from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    item As DatabasePermission _
)
'Usage
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
)

Parameters

Exceptions

Exception Condition
ItemNotFoundException

item is not contained by the collection.