MaximumRolloverFiles propriété
Gets or sets the maximum number of rollover files allowed.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute> _
Public Property MaximumRolloverFiles As Long
Get
Set
'Utilisation
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)
Valeur de la propriété
Type : System. . :: . .Int64
A Int64 value that specifies the maximum number of rollover files allowed.
Notes
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.