Partager via


NumberOfPartitions propriété

Gets the number of partitions.

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

Syntaxe

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

Valeur de la propriété

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