MaximumRolloverFiles 屬性
Gets or sets the maximum number of rollover files allowed.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute> _
Public Property MaximumRolloverFiles As Long
Get
Set
'用途
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)
屬性值
型別:System. . :: . .Int64
A Int64 value that specifies the maximum number of rollover files allowed.
備註
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.