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