แชร์ผ่าน


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 _
)
public PartitionFunctionParameter (
    PartitionFunction partitionFunction,
    DataType dataType
)
public:
PartitionFunctionParameter (
    PartitionFunction^ partitionFunction, 
    DataType^ dataType
)
public PartitionFunctionParameter (
    PartitionFunction partitionFunction, 
    DataType dataType
)
public function PartitionFunctionParameter (
    partitionFunction : PartitionFunction, 
    dataType : DataType
)

Parameters

  • partitionFunction
    A PartitionFunction object that specifies the partition function for which to create the partition function parameter.
  • dataType
    A DataType object that specifies the data type assigned to the partition function parameter.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Set Up a Partition Scheme for a Table in Visual Basic .NET

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

PartitionFunctionParameter Class
PartitionFunctionParameter Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Table and Index Partitioning
CREATE PARTITION FUNCTION (Transact-SQL)