Index.Rebuild 方法 (Int32)
Rebuilds the index on the partition with the specified partition number.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Rebuild ( _
partitionNumber As Integer _
)
'用途
Dim instance As Index
Dim partitionNumber As Integer
instance.Rebuild(partitionNumber)
public void Rebuild(
int partitionNumber
)
public:
void Rebuild(
int partitionNumber
)
member Rebuild :
partitionNumber:int -> unit
public function Rebuild(
partitionNumber : int
)
參數
- partitionNumber
型別:System.Int32
A Int32 value that specifies the number of the partition to be rebuilt.
備註
[!附註]
Indexes based on the UserDefinedTableType object cannot be modified and running this method will generate an exception.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間