다음을 통해 공유


AccountCollection.Remove Method

Definition

Overloads

Remove(Account)

Removes the specified Account from the collection.

Remove(String)

Removes the Account with the specified account type from the collection.

Remove(Account, Boolean)

Removes the specified Account from the collection.

Remove(String, Boolean)

Removes the Account with the specified account type from the collection.

Remove(Account)

Removes the specified Account from the collection.

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

Parameters

item
Account

The Account to be removed.

Exceptions

The specified item is a null reference (Nothing in Visual Basic).

Applies to

Remove(String)

Removes the Account with the specified account type from the collection.

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

Parameters

accountType
String

The account type of the Account to be removed.

Applies to

Remove(Account, Boolean)

Removes the specified Account from the collection.

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)

Parameters

item
Account

The Account to be removed.

cleanUp
Boolean

True, if referencing objects are to be deleted; otherwise, false.

Exceptions

The specified item is a null reference (Nothing in Visual Basic).

Remarks

This API supports the product infrastructure and is not intended to be used directly from your code.

Applies to

Remove(String, Boolean)

Removes the Account with the specified account type from the collection.

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

Parameters

accountType
String

The account type of the Account to be removed.

cleanUp
Boolean

True, if referencing objects are to be deleted; otherwise, false.

Remarks

This API supports the product infrastructure and is not intended to be used directly from your code.

Applies to