PartitionFunction.SplitRangePartition Method

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub SplitRangePartition ( _
    boundaryValue As Object _
)
'Usage
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
)

Parameters

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

Examples

Using Filegroups and Files to Store Data

See Also

Reference

PartitionFunction Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE PARTITION FUNCTION (Transact-SQL)