Condividi tramite


SPWebApplication.SetDailyUnthrottledPrivilegedOperationWindow Method

Sets the daily unthrottled window.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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.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.

Exceptions

Exception Condition
SecurityException

The current user is not a farm administrator.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace