Condividi tramite


SPWebApplication.StorageMetricsProcessingDuration Property

Gets or sets the maximum duration, in seconds, to allow the processing of metric changes for documents.

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

Syntax

'Declaration
Public Property StorageMetricsProcessingDuration As Integer
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Integer

value = instance.StorageMetricsProcessingDuration

instance.StorageMetricsProcessingDuration = value
public int StorageMetricsProcessingDuration { get; set; }

Property Value

Type: System.Int32
The duration, in seconds, to allow the process to run.

Exceptions

Exception Condition
SecurityException

The user is not a farm administrator.

Remarks

The default value is 30. Set this property to 0 (zero) to specify no time limit.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace