Partager via


EnumLastStatisticsUpdates méthode (String)

Enumerates a list of information about the most recent statistics updates for the specified statistic counter.

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

Syntaxe

'Déclaration
Public Function EnumLastStatisticsUpdates ( _
    statname As String _
) As DataTable
'Utilisation
Dim instance As Table
Dim statname As String
Dim returnValue As DataTable

returnValue = instance.EnumLastStatisticsUpdates(statname)
public DataTable EnumLastStatisticsUpdates(
    string statname
)
public:
DataTable^ EnumLastStatisticsUpdates(
    String^ statname
)
member EnumLastStatisticsUpdates : 
        statname:string -> DataTable 
public function EnumLastStatisticsUpdates(
    statname : String
) : DataTable

Paramètres

Valeur de retour

Type : System.Data. . :: . .DataTable
A DataTable system object value that contains a list of information about the most recent statistics updates.

Column

Data type

Description

Name

String

The name of key or index on which the statistic counter is based.

LastUpdated

DateTime

The date and time when the statistics were last updated.