共用方式為


AccountCollection.Remove 方法

定義

多載

Remove(Account)

從集合移除指定的 Account

Remove(String)

從集合移除具有指定帳戶類型的 Account

Remove(Account, Boolean)

從集合移除指定的 Account

Remove(String, Boolean)

從集合移除具有指定帳戶類型的 Account

Remove(Account)

從集合移除指定的 Account

public void Remove (Microsoft.AnalysisServices.Account item);
override this.Remove : Microsoft.AnalysisServices.Account -> unit
Public Sub Remove (item As Account)

參數

item
Account

要移除的 Account

例外狀況

指定的項目為 Null 參考 (Visual Basic 中的 Nothing)。

適用於

Remove(String)

從集合移除具有指定帳戶類型的 Account

public void Remove (string accountType);
override this.Remove : string -> unit
Public Sub Remove (accountType As String)

參數

accountType
String

要移除之 Account 的帳戶類型。

適用於

Remove(Account, Boolean)

從集合移除指定的 Account

public void Remove (Microsoft.AnalysisServices.Account item, bool cleanUp);
override this.Remove : Microsoft.AnalysisServices.Account * bool -> unit
Public Sub Remove (item As Account, cleanUp As Boolean)

參數

item
Account

要移除的 Account

cleanUp
Boolean

如果要刪除參考的物件,則為 true;否則為 false。

例外狀況

指定的項目為 Null 參考 (Visual Basic 中的 Nothing)。

備註

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

適用於

Remove(String, Boolean)

從集合移除具有指定帳戶類型的 Account

public void Remove (string accountType, bool cleanUp);
override this.Remove : string * bool -> unit
Public Sub Remove (accountType As String, cleanUp As Boolean)

參數

accountType
String

要移除之 Account 的帳戶類型。

cleanUp
Boolean

如果要刪除參考的物件,則為 true;否則為 false。

備註

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

適用於