RoleCollection.Remove 方法 (String, Boolean)
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Removes the Role that has the specified identifier from the collection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Sub Remove ( _
id As String, _
cleanUp As Boolean _
)
'用途
Dim instance As RoleCollection
Dim id As String
Dim cleanUp As Boolean
instance.Remove(id, cleanUp)
public void Remove(
string id,
bool cleanUp
)
public:
void Remove(
String^ id,
bool cleanUp
)
member Remove :
id:string *
cleanUp:bool -> unit
public function Remove(
id : String,
cleanUp : boolean
)
參數
- id
型別:System.String
The identifier of the Role to remove.
- cleanUp
型別:System.Boolean
true to delete referencing objects; otherwise, false.