共用方式為


PartitionFunction.SplitRangePartition 方法

Splits an existing range partition into two parts based on a supplied boundary value.

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

語法

'宣告
Public Sub SplitRangePartition ( _
    boundaryValue As Object _
)
'用途
Dim instance As PartitionFunction 
Dim boundaryValue As Object

instance.SplitRangePartition(boundaryValue)
public void SplitRangePartition(
    Object boundaryValue
)
public:
void SplitRangePartition(
    Object^ boundaryValue
)
member SplitRangePartition : 
        boundaryValue:Object -> unit
public function SplitRangePartition(
    boundaryValue : Object
)

參數

  • boundaryValue
    型別:System.Object
    An Object system object that specifies the boundary value that will be used to demarcate the two partitions resulting from the split.

範例

使用檔案群組和檔案來儲存資料

請參閱

參考

PartitionFunction 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE PARTITION FUNCTION (Transact-SQL)