다음을 통해 공유


MiningStructure.CreateMiningModel Method

Definition

Overloads

CreateMiningModel()

Creates a child mining model object within the mining structure.

CreateMiningModel(Boolean)

Create a mining model with a default name and optionally adds the model to the collection of models for the current structure.

CreateMiningModel(Boolean, String)

Creates a mining model with the specified name and optionally adds the model to the collection of models for the structure.

CreateMiningModel()

Creates a child mining model object within the mining structure.

public Microsoft.AnalysisServices.MiningModel CreateMiningModel ();
member this.CreateMiningModel : unit -> Microsoft.AnalysisServices.MiningModel
Public Function CreateMiningModel () As MiningModel

Returns

A reference to the mining model that was just created.

Applies to

CreateMiningModel(Boolean)

Create a mining model with a default name and optionally adds the model to the collection of models for the current structure.

public Microsoft.AnalysisServices.MiningModel CreateMiningModel (bool addToCollection);
member this.CreateMiningModel : bool -> Microsoft.AnalysisServices.MiningModel
Public Function CreateMiningModel (addToCollection As Boolean) As MiningModel

Parameters

addToCollection
Boolean

A value that indicates whether the mining model should be added to the collection.

Returns

A reference to the mining model that was just created.

Applies to

CreateMiningModel(Boolean, String)

Creates a mining model with the specified name and optionally adds the model to the collection of models for the structure.

public Microsoft.AnalysisServices.MiningModel CreateMiningModel (bool addToCollection, string name);
member this.CreateMiningModel : bool * string -> Microsoft.AnalysisServices.MiningModel
Public Function CreateMiningModel (addToCollection As Boolean, name As String) As MiningModel

Parameters

addToCollection
Boolean

A value that indicates whether the mining model should be added to the collection.

name
String

The name of the mining model.

Returns

A reference to the mining model that was just created.

Applies to