Compartir a través de


MaximumRolloverFiles Propiedad

Gets or sets the maximum number of rollover files allowed.

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

Sintaxis

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

value = instance.MaximumRolloverFiles

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

Valor de la propiedad

Tipo: System. . :: . .Int64
A Int64 value that specifies the maximum number of rollover files allowed.

Notas

A rollover file is created when the audit file exceeds the maximum file size. Subsequent audit information is logged into the rollover file.

The maximum number of files you can specify is 2,147,483,647. You can specify 0 to specify that an unlimited number of rollover files can be created in the file system.