SPWebApplication.SetDailyUnthrottledPrivilegedOperationWindow method
Sets the daily unthrottled window.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub SetDailyUnthrottledPrivilegedOperationWindow ( _
hour As UInteger, _
minute As UInteger, _
duration As UInteger _
)
'Usage
Dim instance As SPWebApplication
Dim hour As UInteger
Dim minute As UInteger
Dim duration As UInteger
instance.SetDailyUnthrottledPrivilegedOperationWindow(hour, _
minute, duration)
public void SetDailyUnthrottledPrivilegedOperationWindow(
uint hour,
uint minute,
uint duration
)
Parameters
hour
Type: System.UInt32The 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.UInt32The start minute in the default time zone or the local time zone.
duration
Type: System.UInt32The window duration in hours.
Exceptions
Exception | Condition |
---|---|
SecurityException | The current user is not a farm administrator. |