共用方式為


CreateMiningModel 方法 (Boolean)

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

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function CreateMiningModel ( _
    addToCollection As Boolean _
) As MiningModel
'用途
Dim instance As MiningStructure
Dim addToCollection As Boolean
Dim returnValue As MiningModel

returnValue = instance.CreateMiningModel(addToCollection)
public MiningModel CreateMiningModel(
    bool addToCollection
)
public:
MiningModel^ CreateMiningModel(
    bool addToCollection
)
member CreateMiningModel : 
        addToCollection:bool -> MiningModel 
public function CreateMiningModel(
    addToCollection : boolean
) : MiningModel

參數

  • addToCollection
    型別:System. . :: . .Boolean
    A value that indicates whether the mining model should be added to the collection.

傳回值

型別:Microsoft.AnalysisServices. . :: . .MiningModel
A reference to the mining model that was just created.