Compartilhar via


Propriedade NumberOfPartitions

Gets the number of partitions.

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

Sintaxe

'Declaração
<SfcPropertyAttribute> _
Public ReadOnly Property NumberOfPartitions As Integer
    Get
'Uso
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

Valor da propriedade

Tipo: System. . :: . .Int32
An Int32 that specifies the number of partitions.