Partilhar via


MiningModel Class

Defines the details of an individual mining model. This class cannot be inherited.

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Declaration
<XmlRootAttribute(ElementName:="MiningModel", Namespace:="https://schemas.microsoft.com/analysisservices/2003/engine")> _
<GuidAttribute("AB0A80A1-D3FB-45f0-8D3A-37455E7BF4DB")> _
<DesignerAttribute("Microsoft.AnalysisServices.Design.MiningModelComponentDesigner, Microsoft.AnalysisServices.Design", GetType(IDesigner))> _
Public NotInheritable Class MiningModel
    Inherits ProcessableMajorObject
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent, _
    IDisposable, ICloneable
[XmlRootAttribute(ElementName="MiningModel", Namespace="https://schemas.microsoft.com/analysisservices/2003/engine")] 
[GuidAttribute("AB0A80A1-D3FB-45f0-8D3A-37455E7BF4DB")] 
[DesignerAttribute("Microsoft.AnalysisServices.Design.MiningModelComponentDesigner, Microsoft.AnalysisServices.Design", typeof(IDesigner))] 
public sealed class MiningModel : ProcessableMajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
[XmlRootAttribute(ElementName=L"MiningModel", Namespace=L"https://schemas.microsoft.com/analysisservices/2003/engine")] 
[GuidAttribute(L"AB0A80A1-D3FB-45f0-8D3A-37455E7BF4DB")] 
[DesignerAttribute(L"Microsoft.AnalysisServices.Design.MiningModelComponentDesigner, Microsoft.AnalysisServices.Design", typeof(IDesigner))] 
public ref class MiningModel sealed : public ProcessableMajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
/** @attribute XmlRootAttribute(ElementName="MiningModel", Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") */ 
/** @attribute GuidAttribute("AB0A80A1-D3FB-45f0-8D3A-37455E7BF4DB") */ 
/** @attribute DesignerAttribute("Microsoft.AnalysisServices.Design.MiningModelComponentDesigner, Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IDesigner) */ 
public final class MiningModel extends ProcessableMajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable
XmlRootAttribute(ElementName="MiningModel", Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") 
GuidAttribute("AB0A80A1-D3FB-45f0-8D3A-37455E7BF4DB") 
DesignerAttribute("Microsoft.AnalysisServices.Design.MiningModelComponentDesigner, Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IDesigner) 
public final class MiningModel extends ProcessableMajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable

Remarks

Many mining models can share the same structure, but changing the algorithm, or changing the columns whose values are to be predicted, does change the structure. The set of columns in the MiningModel must be a subset of the columns of the owning structure and share the same nested table structure. You can exclude columns either by omitting them or by setting the usage value to none.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       Microsoft.AnalysisServices.ModelComponent
         Microsoft.AnalysisServices.NamedComponent
           Microsoft.AnalysisServices.MajorObject
             Microsoft.AnalysisServices.ProcessableMajorObject
              Microsoft.AnalysisServices.MiningModel

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 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MiningModel Members
Microsoft.AnalysisServices Namespace