Condividi tramite


Proprietà PartitionFunction.NumberOfPartitions

Gets the number of partitions.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property NumberOfPartitions As Integer 
    Get
'Utilizzo
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

Valore proprietà

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

Esempi

Utilizzo di filegroup e file per archiviare dati

Vedere anche

Riferimento

PartitionFunction Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

CREATE PARTITION FUNCTION (Transact-SQL)