共用方式為


SPWebApplication.DailyStartUnthrottledPrivilegedOperationsHour Property

Gets the hour of the start time for an unthrottled privilege operation according to the local time zone.

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

Syntax

'Declaration
Public Property DailyStartUnthrottledPrivilegedOperationsHour As UInteger
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As UInteger

value = instance.DailyStartUnthrottledPrivilegedOperationsHour

instance.DailyStartUnthrottledPrivilegedOperationsHour = value
public uint DailyStartUnthrottledPrivilegedOperationsHour { get; set; }

Property Value

Type: System.UInt32
UInt32
A value between 0 and 23 that indicates the hour of the start time.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The hour cannot be set to a value that is greater than 23.

SecurityException

The hour cannot be set because the current user is not a farm administrator.

Remarks

Use the SetDailyUnthrottledPrivilegedOperationWindow(UInt32, UInt32, UInt32) method to set the hour of the start time.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace