Delen via


PhysicalPartition.PartitionNumber Property

Gets or sets the partition number for the physical partition.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property PartitionNumber As Integer
    Get
    Set
'Usage
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)

Property Value

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