Audit.MaximumRolloverFiles Property
Gets or sets the maximum number of rollover files allowed.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute> _
Public Property MaximumRolloverFiles As Long
Get
Set
'Usage
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)
Property Value
Type: System.Int64
A Int64 value that specifies the maximum number of rollover files allowed.
Remarks
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.