Метод UpdateStatistics

Updates statistics for the referenced index.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub UpdateStatistics
'Применение
Dim instance As Index

instance.UpdateStatistics()
public void UpdateStatistics()
public:
void UpdateStatistics()
member UpdateStatistics : unit -> unit 
public function UpdateStatistics()

Замечания

This method performs a sample scan on the target table or indexed view. The sample size is automatically computed.

ПримечаниеПримечание

Indexes based partly on the UserDefinedTableType object do not support statistics and running this method will generate an exception.