Sdílet prostřednictvím


DataSourcePermissionCollection.Remove Method (DataSourcePermission)

Removes the specified DataSourcePermission from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    item As DataSourcePermission _
)
'Usage
Dim instance As DataSourcePermissionCollection
Dim item As DataSourcePermission

instance.Remove(item)
public void Remove(
    DataSourcePermission item
)
public:
void Remove(
    DataSourcePermission^ item
)
member Remove : 
        item:DataSourcePermission -> unit 
public function Remove(
    item : DataSourcePermission
)

Exceptions

Exception Condition
ItemNotFoundException

item is not contained by the collection.