Proprietà Statistic.LastUpdated

Gets the date and time when the statistic counter was last updated.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property LastUpdated As DateTime 
    Get
'Utilizzo
Dim instance As Statistic 
Dim value As DateTime 

value = instance.LastUpdated
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public DateTime LastUpdated { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property DateTime LastUpdated {
    DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member LastUpdated : DateTime
function get LastUpdated () : DateTime

Valore proprietà

Tipo: System.DateTime
A DateTime system object value that specifies the date and time when the statistic counter was last updated.

Esempi

Creazione e aggiornamento delle statistiche

Vedere anche

Riferimento

Statistic Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

CREATE STATISTICS (Transact-SQL)