This topic has not yet been rated - Rate this topic

LastProcessed (Dimension Interface)

NoteNote

  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 LastProcessed property of the Dimension interface contains the date and time when a dimension was last processed.

Applies To: clsAggregationDimension, clsCubeDimension, clsDatabaseDimension, clsPartitionDimension

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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.