MiningStructure.CreateMiningModel Method (Boolean, String)
Creates a mining model with the specified name and optionally adds the model to the collection of models for the structure.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
Syntax
'Deklaracja
Public Function CreateMiningModel ( _
addToCollection As Boolean, _
name As String _
) As MiningModel
public MiningModel CreateMiningModel (
bool addToCollection,
string name
)
public:
MiningModel^ CreateMiningModel (
bool addToCollection,
String^ name
)
public MiningModel CreateMiningModel (
boolean addToCollection,
String name
)
public function CreateMiningModel (
addToCollection : boolean,
name : String
) : MiningModel
Parameters
- addToCollection
A value that indicates whether the mining model should be added to the collection.
- name
The name of the mining model.
Return Value
A reference to the mining model that was just created.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
See Also