PhysicalPartition Constructor (SqlSmoObject, Int32, DataCompressionType)
Initializes a new instance of the PhysicalPartition class with the specified parent, partition number, and data compression.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub New ( _
parent As SqlSmoObject, _
partitionNumber As Integer, _
dataCompressionType As DataCompressionType _
)
'Uso
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
)
Parámetros
- parent
Tipo: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject object that specifies the parent of the PhysicalPartition object.
- partitionNumber
Tipo: System.Int32
A Int32 value that specifies the partition number of the physical partition.
- dataCompressionType
Tipo: Microsoft.SqlServer.Management.Smo.DataCompressionType
A DataCompressionType object that specifies the type of data compression used to store the object on the partition.