Udostępnij przez


Audit.MaximumFileSize Property

Gets or sets the maximum size of the audit in megabytes.

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

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public Property MaximumFileSize As Integer
[SfcPropertyAttribute] 
public int MaximumFileSize { get; set; }
[SfcPropertyAttribute] 
public:
property int MaximumFileSize {
    int get ();
    void set (int value);
}
/** @property */
public int get_MaximumFileSize ()

/** @property */
public void set_MaximumFileSize (int value)
public function get MaximumFileSize () : int

public function set MaximumFileSize (value : int)

Property Value

A Int64 value that specifies the maximum size of the audit in megabytes.

Remarks

The minimum size that you can specify is 1024 KB and the maximum is 2,147,483,647 terabytes. You can also specify 0, which does not place a limit on the size of the file. If you specify a value lower than 1024, an error is raised.

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.