Freigeben über


Statistic.LastUpdated-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

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

Eigenschaftswert

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

Beispiele

Erstellen und Aktualisieren von Statistiken

Siehe auch

Verweis

Statistic Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

CREATE STATISTICS (Transact-SQL)