Partager via


LastProcessed (Dimension Interface)

ms132824.note(fr-fr,SQL.90).gifRemarque :
  Cette fonctionnalité sera supprimée dans la prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.

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

Notes

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

Exemple

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

Voir aussi

Référence

Dimension Interface
LastUpdated (Dimension Interface)

Aide et Informations

Assistance sur SQL Server 2005