다음을 통해 공유


SourceCube (clsMiningModel)

[!참고]

  이 기능은 다음 버전의 Microsoft SQL Server에서 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.

The SourceCube property of an object of ClassType clsMiningModel specifies the cube that provides the source data for the mining model. This property applies only to mining models of SubClassType sbclsOlap.

Data Type

String

Access

Read/write

주의

The source cube of a mining model must reside in the same database as the mining model itself.The specified source cube must be visible (that is, the IsVisible property of the clsCube object must be set to True). If the IsVisible property of the source cube is set to False, an error is raised.

[!참고]

  A mining model cannot use a virtual cube which already contains a mining dimension as a source cube.

The following example specifies the City level of the Customer dimension be used to generate training cases for the mining model from the Sales cube.

' Assume the existence of a mining model object named dsoDMM.
dsoDMM.SourceCube = "Sales"
dsoDMM.CaseDimension = "Customer"

참고 항목

참조