SPUsageSettings.NumberLogFiles Property
NOTE: This API is now obsolete.
The number of log files to use in usage analysis per virtual server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use SPUsageManager instead.", False)> _
Public Property NumberLogFiles As UInteger
Get
Set
'Usage
Dim instance As SPUsageSettings
Dim value As UInteger
value = instance.NumberLogFiles
instance.NumberLogFiles = value
[ObsoleteAttribute("Use SPUsageManager instead.", false)]
public uint NumberLogFiles { get; set; }
Property Value
Type: System.UInt32
A UInt32 number of log files..
Remarks
Setting (resetting) [Microsoft.SharePoint.Administration.SPUsageSettings.NumberLogFiles] property requires calling the Update method to effect the change in the database. This property returns a system [ArgumentException] exception if the number of log files is less than 1 or greater than the value that is specified by the MaxNumberLogFiles field.