次の方法で共有


NumberOfPartitions プロパティ

パーティションの数を取得します。

名前空間:  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
パーティションの数を示す Int32 値。