Freigeben über


DataFile.MaxSize-Eigenschaft

Gets or set the maximum size to which the data file can grow in KB.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MaxSize As Double 
    Get 
    Set
'Usage
Dim instance As DataFile 
Dim value As Double 

value = instance.MaxSize

instance.MaxSize = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public double MaxSize { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property double MaxSize {
    double get ();
    void set (double value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MaxSize : float with get, set
function get MaxSize () : double 
function set MaxSize (value : double)

Eigenschaftswert

Typ: System.Double
A Double value that specifies the maximum size of the data file in KB.

Beispiele

Verwenden von Dateigruppen und Dateien zur Speicherung von Daten

Siehe auch

Verweis

DataFile Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Architektur von Dateien und Dateigruppen

CREATE DATABASE (Transact-SQL)