共用方式為


NumberOfPartitions 屬性

Gets the number of partitions.

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

語法

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

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

屬性值

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