共用方式為


SPWebApplication.DailyUnthrottledPrivilegedOperationsDuration Property

Gets or sets the duration in hours for an unthrottled privilege operation.

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

Syntax

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

value = instance.DailyUnthrottledPrivilegedOperationsDuration

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

Property Value

Type: System.UInt32
UInt32
The duration in hours.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The duration cannot be set to a value that is greater than 24.

SecurityException

The current user is not a farm administrator.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace