Propriedade MaximumRolloverFiles

Gets or sets the maximum number of rollover files allowed.

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

Sintaxe

'Declaração
<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 da propriedade

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

Comentários

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.