PhysicalPartition Constructor (SqlSmoObject, Int32, DataCompressionType)
Initializes a new instance of the PhysicalPartition class with the specified parent, partition number, and data compression.
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, _
dataCompressionType As DataCompressionType _
)
'Usage
Dim parent As SqlSmoObject
Dim partitionNumber As Integer
Dim dataCompressionType As DataCompressionType
Dim instance As New PhysicalPartition(parent, _
partitionNumber, dataCompressionType)
public PhysicalPartition(
SqlSmoObject parent,
int partitionNumber,
DataCompressionType dataCompressionType
)
public:
PhysicalPartition(
SqlSmoObject^ parent,
int partitionNumber,
DataCompressionType dataCompressionType
)
new :
parent:SqlSmoObject *
partitionNumber:int *
dataCompressionType:DataCompressionType -> PhysicalPartition
public function PhysicalPartition(
parent : SqlSmoObject,
partitionNumber : int,
dataCompressionType : DataCompressionType
)
Parameters
- parent
Type: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject object that specifies the parent of the PhysicalPartition object.
- partitionNumber
Type: System.Int32
A Int32 value that specifies the partition number of the physical partition.
- dataCompressionType
Type: Microsoft.SqlServer.Management.Smo.DataCompressionType
A DataCompressionType object that specifies the type of data compression used to store the object on the partition.