Share via


SPDailySchedule.BeginHour property

Gets or sets the hour at which the schedule begins.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property BeginHour As Integer
    Get
    Set
'Usage
Dim instance As SPDailySchedule
Dim value As Integer

value = instance.BeginHour

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

Property value

Type: System.Int32
A 32-bit integer that specifies the beginning hour.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The property is set to a value less than 0 or greater than 23.

See also

Reference

SPDailySchedule class

SPDailySchedule members

Microsoft.SharePoint namespace