Condividi tramite


LastProcessed (Dimension Interface)

[!NOTA]   Questa funzionalità verrà rimossa a partire dalla prossima versione di Microsoft SQL Server. Non utilizzare questa funzionalità in un nuovo progetto di sviluppo e modificare appena possibile le applicazioni in cui questa funzionalità viene utilizzata.

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

Osservazioni

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

Esempio

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

Vedere anche

Riferimento

Dimension Interface
LastUpdated (Dimension Interface)

Guida in linea e informazioni

Assistenza su SQL Server 2005