IsDisabled (clsColumn)
注意: |
---|
下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。 |
The IsDisabled property of an object of ClassType clsColumn specifies whether the column is included in the mining model or is only used during training to specify joins between tables.
Data Type
Boolean
Access
Read/write
备注
Columns where the IsDisabled property has been set to True are ignored when a mining model is being created or trained on the Analysis server. This property setting is useful for OLAP data mining models (that is, objects of ClassType clsMiningModel and SubClassType sbclsOlap) when the Columns collection is created automatically by calling the Update method. After the Update method is called, columns to be used by the data mining model can be enabled by setting the IsDisabled property to False.
For columns of SubClassType sbclsNested, setting the IsDisabled property to Trueautomatically disables descendant columns. Setting the IsDisabled property to False automatically enables ancestor columns.
请参阅
参考
clsColumn
Update (clsMiningModel)