Freigeben über


PartitionFunction.NumberOfPartitions-Eigenschaft

Gets the number of partitions.

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

Syntax

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

Eigenschaftswert

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

Beispiele

Verwenden von Dateigruppen und Dateien zur Speicherung von Daten

Siehe auch

Verweis

PartitionFunction Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

CREATE PARTITION FUNCTION (Transact-SQL)