PhysicalPartition 构造函数 (SqlSmoObject, Int32)
Initializes a new instance of the PhysicalPartition class with the specified parent and partition number.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub New ( _
parent As SqlSmoObject, _
partitionNumber As Integer _
)
用法
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
)
参数
- parent
类型:Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
A SqlSmoObject object that specifies the parent of the PhysicalPartition object.
- partitionNumber
类型:System. . :: . .Int32
A Int32 value that specifies the partition number of the physical partition.