Propriété PartitionFunction.NumberOfPartitions

Gets the number of partitions.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property NumberOfPartitions As Integer 
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

Utilisation de fichiers ou de groupes de fichiers pour stocker des données

Voir aussi

Référence

PartitionFunction Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

CREATE PARTITION FUNCTION (Transact-SQL)