PartitionFunction.RangeType Property

Gets or sets the placement of boundary values in relation to the interval.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property RangeType As RangeType 
    Get 
    Set
'Usage
Dim instance As PartitionFunction 
Dim value As RangeType 

value = instance.RangeType

instance.RangeType = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public RangeType RangeType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property RangeType RangeType {
    RangeType get ();
    void set (RangeType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member RangeType : RangeType with get, set
function get RangeType () : RangeType 
function set RangeType (value : RangeType)

Property Value

Type: Microsoft.SqlServer.Management.Smo.RangeType
A RangeType object that represents the range type.

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)