Condividi tramite


Metodo MiningStructure.CreateMiningModel (Boolean, String)

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

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function CreateMiningModel ( _
    addToCollection As Boolean, _
    name As String _
) As MiningModel
'Utilizzo
Dim instance As MiningStructure 
Dim addToCollection As Boolean 
Dim name As String 
Dim returnValue As MiningModel 

returnValue = instance.CreateMiningModel(addToCollection, _
    name)
public MiningModel CreateMiningModel(
    bool addToCollection,
    string name
)
public:
MiningModel^ CreateMiningModel(
    bool addToCollection, 
    String^ name
)
member CreateMiningModel : 
        addToCollection:bool * 
        name:string -> MiningModel
public function CreateMiningModel(
    addToCollection : boolean, 
    name : String
) : MiningModel

Parametri

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

Valore restituito

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

Vedere anche

Riferimento

MiningStructure Classe

Overload CreateMiningModel

Spazio dei nomi Microsoft.AnalysisServices