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"