State (clsMiningModel)

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

The State property of an object of ClassType clsMiningModel returns an enumeration constant that indicates the processing state of the object on the server.

Data Type

OlapStateTypes

Access

Read-only

Remarks

The supported OlapStateTypes enumeration constants for the State property are:

  • olapStateNeverProcessed

  • olapStateCurrent

  • olapStateStructureChanged

When a mining model is first created, the value for the State property is olapStateNeverProcessed. After processing, the value becomes olapStateCurrent. If structural changes are made to the Columns collection of the model after processing, the value becomes olapStateStructureChanged. If source mapping changes are made to the Columns collection after processing (that is, if changes are made to the clsColumn SourceTable or SourceColumn properties), the value becomes olapStateSourceMappingChanged.

See Also

Reference