共用方式為


IsDisabled (clsColumn)

ms134673.note(zh-tw,SQL.90).gif附註:
  下一版的 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)

說明及資訊

取得 SQL Server 2005 協助