DimensionPermissionCollection.Remove Method (DimensionPermission, Boolean)
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Removes the specified DimensionPermission from this collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
item As DimensionPermission, _
cleanUp As Boolean _
)
'Usage
Dim instance As DimensionPermissionCollection
Dim item As DimensionPermission
Dim cleanUp As Boolean
instance.Remove(item, cleanUp)
public void Remove(
DimensionPermission item,
bool cleanUp
)
public:
void Remove(
DimensionPermission^ item,
bool cleanUp
)
member Remove :
item:DimensionPermission *
cleanUp:bool -> unit
public function Remove(
item : DimensionPermission,
cleanUp : boolean
)
Parameters
- item
Type: Microsoft.AnalysisServices.DimensionPermission
The DimensionPermission to remove.
- cleanUp
Type: System.Boolean
True if it will delete referencing objects; otherwise, false.