CreateMiningModel 方法 (Boolean, String)
Creates a mining model with the specified name and optionally adds the model to the collection of models for the structure.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Function CreateMiningModel ( _
addToCollection As Boolean, _
name As String _
) As MiningModel
用法
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
参数
- addToCollection
类型:System. . :: . .Boolean
A value that indicates whether the mining model should be added to the collection.
- name
类型:System. . :: . .String
The name of the mining model.
返回值
类型:Microsoft.AnalysisServices. . :: . .MiningModel
A reference to the mining model that was just created.