共用方式為


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
)

參數

備註

[!附註]

Indexes based on the UserDefinedTableType object cannot be modified and running this method will generate an exception.