TenantCreateOfficeHoliday(String, Byte, Byte, UInt16, NullableTimeSpan, Byte, Byte, UInt16, NullableTimeSpan) Method

Creates a new OfficeHoliday object for this tenant.

Definition

Namespace: TCX.Configuration
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
OfficeHoliday CreateOfficeHoliday(
	string name,
	byte daystart,
	byte monthstart,
	ushort yearstart = 0,
	TimeSpan? starttime = null,
	byte dayend = 0,
	byte monthend = 0,
	ushort yearend = 0,
	TimeSpan? endtime = null
)

Parameters

name  String
name of the holiday
daystart  Byte
Day
monthstart  Byte
Month
yearstart  UInt16  (Optional)
Year
starttime  NullableTimeSpan  (Optional)
TimeOfStartDate
dayend  Byte  (Optional)
DayEnd
monthend  Byte  (Optional)
MonthEnd
yearend  UInt16  (Optional)
YearEnd
endtime  NullableTimeSpan  (Optional)
TimeOfStartDate

Return Value

OfficeHoliday
Initialized object of type OfficeHoliday.

See Also