Compartir a través de


MaximumFileSize Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute> _
Public Property MaximumFileSize As Integer
    Get
    Set
'Uso
Dim instance As Audit
Dim value As Integer

value = instance.MaximumFileSize

instance.MaximumFileSize = value
[SfcPropertyAttribute]
public int MaximumFileSize { get; set; }
[SfcPropertyAttribute]
public:
property int MaximumFileSize {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute>]
member MaximumFileSize : int with get, set
function get MaximumFileSize () : int
function set MaximumFileSize (value : int)

Valor de la propiedad

Tipo: System. . :: . .Int32
A Int64 value that specifies the maximum size of the audit in megabytes.

Notas

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.