共用方式為


Table.RebuildIndexes 方法

Rebuilds the indexes on the table.

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

語法

'宣告
Public Sub RebuildIndexes ( _
    fillFactor As Integer _
)
'用途
Dim instance As Table 
Dim fillFactor As Integer

instance.RebuildIndexes(fillFactor)
public void RebuildIndexes(
    int fillFactor
)
public:
void RebuildIndexes(
    int fillFactor
)
member RebuildIndexes : 
        fillFactor:int -> unit
public function RebuildIndexes(
    fillFactor : int
)

參數

  • fillFactor
    型別:System.Int32
    An Int32 value that specifies the fillfactor value as a percentage.

範例

授與、撤銷和拒絕權限

請參閱

參考

Table 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

建立、改變和移除資料表

資料表

DBCC DBREINDEX (Transact-SQL)