SiteTraceFailedRequestsLogging.MaxLogFiles Property

 

Gets or sets the maximum number of failed-request log files to keep for a Web site.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public long MaxLogFiles { get; set; }

Property Value

Type: System.Int64

The maximum number, from 1 through 10000, of failed-request log files to keep for a site that has enabled failed-request logging.

Exception Condition
System.ArgumentOutOfRangeException

The property value is less than 1 or greater than 10000.

Return to top
Show: