共用方式為


PartitionNumber 屬性

Gets or sets the partition number for the physical partition.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property PartitionNumber As Integer
    Get
    Set
'用途
Dim instance As PhysicalPartition
Dim value As Integer

value = instance.PartitionNumber

instance.PartitionNumber = value
[SfcPropertyAttribute]
public int PartitionNumber { get; set; }
[SfcPropertyAttribute]
public:
property int PartitionNumber {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute>]
member PartitionNumber : int with get, set
function get PartitionNumber () : int
function set PartitionNumber (value : int)

屬性值

型別:System. . :: . .Int32
A Int32 value that specifies the partition number of the physical partition.