Partager via


LastUpdated (Dimension Interface)

ms132769.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 LastUpdated property of the Dimension interface is not used by Microsoft® SQL Server™ 2000 Analysis Services. You can set this to any date/time value you want. For example, you can use it to indicate when the source data was last changed.

Applies To:clsAggregationDimension, clsCubeDimension, clsDatabaseDimension, clsPartitionDimension

Data Type

Date

Access

Access depends on the value of the ClassType property of the object.

Class type Access

clsDatabaseDimension

R/W

clsCubeDimension

R

clsPartitionDimension

R

clsAggregationDimension

R

Notes

The LastUpdated property is not automatically set by any Decision Support Objects (DSO) method. It is provided as a means for client applications to indicate a date or time that can assist in validating information. For example, a date of 12/31/96 may mean that the information stored in a cube is not valid after December of 1996.

Exemple

Use the following code to update an out-of-date dimension:

'Assume an object (dsoDim) of ClassType clsDatabaseDimension exists.
If dsoDim.LastUpdated < date Then
    'Insert ode to update dimension.
End If

Voir aussi

Référence

Dimension Interface
LastProcessed (Dimension Interface)

Aide et Informations

Assistance sur SQL Server 2005