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.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間