다음을 통해 공유


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.

네임스페이스:  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.

반환 값

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

참고 항목

참조

MiningStructure 클래스

CreateMiningModel 오버로드

Microsoft.AnalysisServices 네임스페이스