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