Share via


PartitionFunctionParameter Constructor (PartitionFunction, DataType)

Initializes a new instance of the PartitionFunctionParameter class with the specified data type and for the specified partition function.

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

Syntax

'Declaration
Public Sub New ( _
    partitionFunction As PartitionFunction, _
    dataType As DataType _
)
'Usage
Dim partitionFunction As PartitionFunction 
Dim dataType As DataType 

Dim instance As New PartitionFunctionParameter(partitionFunction, _
    dataType)
public PartitionFunctionParameter(
    PartitionFunction partitionFunction,
    DataType dataType
)
public:
PartitionFunctionParameter(
    PartitionFunction^ partitionFunction, 
    DataType^ dataType
)
new : 
        partitionFunction:PartitionFunction * 
        dataType:DataType -> PartitionFunctionParameter
public function PartitionFunctionParameter(
    partitionFunction : PartitionFunction, 
    dataType : DataType
)

Parameters

Examples

Using Filegroups and Files to Store Data

See Also

Reference

PartitionFunctionParameter Class

PartitionFunctionParameter Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE PARTITION FUNCTION (Transact-SQL)