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