Partager via


Propriété Statistic.LastUpdated

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property LastUpdated As DateTime 
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

Création et mise à jour des statistiques

Voir aussi

Référence

Statistic Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

CREATE STATISTICS (Transact-SQL)