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
'Bildirim
Public Sub New ( _
partitionFunction As PartitionFunction, _
dataType As DataType _
)
'Kullanım
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
- partitionFunction
Type: Microsoft.SqlServer.Management.Smo.PartitionFunction
A PartitionFunction object that specifies the partition function for which to create the partition function parameter.
- dataType
Type: Microsoft.SqlServer.Management.Smo.DataType
A DataType object that specifies the data type assigned to the partition function parameter.
Examples
Using Filegroups and Files to Store Data
See Also
Reference
PartitionFunctionParameter Class
PartitionFunctionParameter Overload
Microsoft.SqlServer.Management.Smo Namespace