Dela via


PhysicalPartition Constructor (SqlSmoObject, Int32)

Initializes a new instance of the PhysicalPartition class with the specified parent and partition number.

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

Syntax

'Declaration
Public Sub New ( _
    parent As SqlSmoObject, _
    partitionNumber As Integer _
)
'Usage
Dim parent As SqlSmoObject
Dim partitionNumber As Integer

Dim instance As New PhysicalPartition(parent, _
    partitionNumber)
public PhysicalPartition(
    SqlSmoObject parent,
    int partitionNumber
)
public:
PhysicalPartition(
    SqlSmoObject^ parent, 
    int partitionNumber
)
new : 
        parent:SqlSmoObject * 
        partitionNumber:int -> PhysicalPartition
public function PhysicalPartition(
    parent : SqlSmoObject, 
    partitionNumber : int
)

Parameters

  • partitionNumber
    Type: System.Int32
    A Int32 value that specifies the partition number of the physical partition.