次の方法で共有


UsageAnalyticsJobDefinition.SetDayOffset method

Sets an offset (in hours) from local time that specifies the start of the day. Valid values are between -23 and 23.

Namespace:  Microsoft.Office.Server.Search.Analytics
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Sub SetDayOffset ( _
    offset As Integer _
)
'Usage
Dim instance As UsageAnalyticsJobDefinition
Dim offset As Integer

instance.SetDayOffset(offset)
public void SetDayOffset(
    int offset
)

Parameters

  • offset
    Type: System.Int32

    [System.Int32] specifying the offset (in hours) from local time for the start of the day.

Exceptions

Exception Condition
ArgumentException

The exception that is thrown when offset is outside the boundaries of [-23, 23].

See also

Reference

UsageAnalyticsJobDefinition class

UsageAnalyticsJobDefinition members

Microsoft.Office.Server.Search.Analytics namespace