Freigeben über


LogFile.Size-Eigenschaft

Gets or sets the current size of the log file, in KB.

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

Syntax

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

value = instance.Size

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

Eigenschaftswert

Typ: System.Double
A Double value that specifies the current size of the log file, in KB.

Beispiele

Verwenden von Dateigruppen und Dateien zur Speicherung von Daten

Siehe auch

Verweis

LogFile Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

CREATE DATABASE (Transact-SQL)