共用方式為


NumberOfPartitions 屬性

Gets the number of partitions.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property NumberOfPartitions As Integer
    Get
'用途
Dim instance As PartitionFunction
Dim value As Integer

value = instance.NumberOfPartitions
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int NumberOfPartitions { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int NumberOfPartitions {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member NumberOfPartitions : int
function get NumberOfPartitions () : int

屬性值

型別:System. . :: . .Int32
An Int32 that specifies the number of partitions.