PartitionFunction.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.

示例

使用文件组和文件存储数据

请参阅

参考

PartitionFunction 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

CREATE PARTITION FUNCTION (Transact-SQL)