RoleCollection.Remove-Methode (Role, Boolean)
Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.
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
)
Parameter
- item
Typ: Microsoft.AnalysisServices.Role
The Role to remove.
- cleanUp
Typ: System.Boolean
true to delete referencing objects; otherwise, false.