Compartir a través de


CreateMiningModel Método (Boolean)

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

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public Function CreateMiningModel ( _
    addToCollection As Boolean _
) As MiningModel
'Uso
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

Parámetros

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

Valor devuelto

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