Export (0) Print
Expand All
AutomaticFormDigestValidationBypassCollection property
BlockedViewAuditFileExtensions property
ListViewAuditEnabled property
LookupDropDownUseStandardControl property
MaxAuditLogTrimmingRetention property
PingProcessDelay property
PingTimeAvailable property
PingWarmupPage property
SharePoint2010WorkflowsEnabled property
ShowNewGroupMenuItem property
SyncPolicySettings property
TrimAuditLogEnforced property
UseLatestDatabaseSchema property
WnsConfigurationSettings property
Expand Minimize

SPWebApplication.EventLogRetentionPeriod property

Gets or sets the amount of time to preserve event logs.

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

public TimeSpan EventLogRetentionPeriod { get; set; }

Property value

Type: System.TimeSpan
TimeSpan
The amount of time to preserve event logs, ignoring hours, minutes, and seconds.

ExceptionCondition
SecurityException

The current user is not a farm administrator.

Show:
© 2014 Microsoft