PartitionFunctionParameter 构造函数 (PartitionFunction, DataType)
Initializes a new instance of the PartitionFunctionParameter class with the specified data type and for the specified partition function.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub New ( _
partitionFunction As PartitionFunction, _
dataType As DataType _
)
用法
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
)
参数
- partitionFunction
类型:Microsoft.SqlServer.Management.Smo. . :: . .PartitionFunction
A PartitionFunction object that specifies the partition function for which to create the partition function parameter.
- dataType
类型:Microsoft.SqlServer.Management.Smo. . :: . .DataType
A DataType object that specifies the data type assigned to the partition function parameter.