LastProcessed (Dimension Interface)

注意注意

  この機能は、Microsoft SQL Server の次のバージョンで削除されます。 新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションはできるだけ早く修正してください。

The LastProcessed property of the Dimension interface contains the date and time when a dimension was last processed.

Applies To:clsAggregationDimension, clsCubeDimension, clsDatabaseDimension, clsPartitionDimension

Data Type

Date

Access

Read-only

説明

If the value of the State property is olapStateNeverProcessed, the LastProcessed property for an object is undefined, and it raises an error.

使用例

Use the following code to determine when a dimension object was last processed:

'Assume an object (dsoDim) of ClassType clsDimension exists.
If dsoDim.State <> olapStateNeverProcessed Then
    If dsoDim.LastProcessed < Date Then
        'Insert code to process the dimension.
    End If
End If