UsageAnalyticsJobDefinition.SetDailyAnalysisScheduleHour method
Sets the hour component of the daily time schedule for usage analytics. Valid values are between 0 and 23.
Namespace: Microsoft.Office.Server.Search.Analytics
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub SetDailyAnalysisScheduleHour ( _
newHour As Integer _
)
'Usage
Dim instance As UsageAnalyticsJobDefinition
Dim newHour As Integer
instance.SetDailyAnalysisScheduleHour(newHour)
public void SetDailyAnalysisScheduleHour(
int newHour
)
Parameters
newHour
Type: System.Int32[!:System.int] New clock hour to use in the daily time schedule
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if newHour is outside the boundaries of [0, 23]. |
See also
Reference
UsageAnalyticsJobDefinition class