Share via


MiningModelCollection.Remove Method

Definition

Overloads

Remove(MiningModel, Boolean)

Removes the specified MiningModel from the collection.

Remove(MiningModel)

Removes the specified MiningModel from the collection.

Remove(String)

Removes the MiningModel with the specified identifier from the collection.

Remove(String, Boolean)

Removes the MiningModel with the specified identifier from the collection.

Remove(MiningModel, Boolean)

Removes the specified MiningModel from the collection.

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

Parameters

item
MiningModel

The MiningModel 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(MiningModel)

Removes the specified MiningModel from the collection.

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

Parameters

item
MiningModel

The MiningModel to be removed.

Exceptions

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

Applies to

Remove(String)

Removes the MiningModel with the specified identifier from the collection.

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

Parameters

id
String

The identifier of the MiningModel to be removed.

Applies to

Remove(String, Boolean)

Removes the MiningModel with the specified identifier from the collection.

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

Parameters

id
String

The identifier of the MiningModel 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