共用方式為


PhysicalPartition.PartitionNumber 屬性

Gets or sets the partition number for the physical partition.

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

語法

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

value = instance.PartitionNumber

instance.PartitionNumber = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int PartitionNumber { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int PartitionNumber {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
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.

請參閱

參考

PhysicalPartition 類別

Microsoft.SqlServer.Management.Smo 命名空間