SPWebApplication.SetDailyUnthrottledPrivilegedOperationWindow Method
SharePoint 2010
Sets the daily unthrottled window.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
public void SetDailyUnthrottledPrivilegedOperationWindow( uint hour, uint minute, uint duration )
Parameters
- hour
- Type: System.UInt32
The start hour in the default time zone or in the local time zone. If the DefaultTimeZone property for the Web application is set, the hour refers to the default time zone; otherwise, hour refers to the local current time zone.
- minute
- Type: System.UInt32
The start minute in the default time zone or the local time zone.
- duration
- Type: System.UInt32
The window duration in hours.
| Exception | Condition |
|---|---|
| SecurityException |
The current user is not a farm administrator. |