Udostępnij przez


Audit.ReserveDiskSpace Property

Gets or sets the Boolean property value that specifies whether disk space is reserved for the audit file.

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

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public Property ReserveDiskSpace As Boolean
[SfcPropertyAttribute] 
public bool ReserveDiskSpace { get; set; }
[SfcPropertyAttribute] 
public:
property bool ReserveDiskSpace {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_ReserveDiskSpace ()

/** @property */
public void set_ReserveDiskSpace (boolean value)
public function get ReserveDiskSpace () : boolean

public function set ReserveDiskSpace (value : boolean)

Property Value

A Boolean value that specifies whether disk space is reserved for the audit file. If True, disk space, equal to the maximum file size, is reserved in advance; otherwise, False (default).

Remarks

This setting cannot be used when the MaximumFileSize property is set to unlimited.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.