Partilhar via


SPDailySchedule.EndHour Property

Gets or sets the hour at which the schedule ends.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.EndHour

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

Property Value

Type: System.Int32
A 32-bit integer that specifies the ending 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