State (clsMiningModel)

Analysis Services Programming

Analysis Services Programming

State (clsMiningModel)

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

clsMiningModel