Compartilhar via


SetProcessingInterval Method

The SetProcessingInterval method of the SPUsageSettings class specifies the start and end times of the interval within which usage analysis processing starts each day.

Parameters

lHourBegin   A 32-bit integer between 0 and 23 that specifies the start hour for the processing interval.

lMinBegin   A 32-bit integer that specifies the start minute for the processing interval.

lHourEnd   A 32-bit integer between 0 and 23 that specifies the end hour for the processing interval.

lMinEnd   A 32-bit integer that specifies the end minute for the processing interval.

Remarks

If the start and end times are the same, the process begins exactly at the specified start time.

The SetProcessingInterval method returns an ArgumentOutOfRangeException exception if the value specified for a parameter is outside the range of possible values.

Example

The following code example uses the SetProcessingInterval method to specify the start and end times for the interval within which usage analysis processing starts.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security