共用方式為


TableViewBase.UpdateStatistics 方法

Updates statistics for the table or view.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub UpdateStatistics
'用途
Dim instance As TableViewBase

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

範例

使用資料庫物件

請參閱

參考

TableViewBase 類別

UpdateStatistics 多載

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

資料表

檢視表

CREATE TABLE (Transact-SQL)

CREATE VIEW (Transact-SQL)

UPDATE STATISTICS (Transact-SQL)