[This is preliminary documentation and is subject to change.]
Inserts the user availability information corresponding to an event for a particular user.
Namespace:
OfficeClip.DBLayer.DesktopAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public int UpdateUserAvailability( int eventId, int userId, DateTime startDateTime, DateTime endDateTime, EventShowAs showAs ) |
Visual Basic (Declaration) |
---|
Public Function UpdateUserAvailability ( _ eventId As Integer, _ userId As Integer, _ startDateTime As DateTime, _ endDateTime As DateTime, _ showAs As EventShowAs _ ) As Integer |
Visual C++ |
---|
public: int UpdateUserAvailability( int eventId, int userId, DateTime startDateTime, DateTime endDateTime, EventShowAs showAs ) |
Parameters
- eventId
- Type: System..::.Int32
Id of the event for which the user availability has to be inserted.
- userId
- Type: System..::.Int32
Id of the user whose availability has to be set.
- startDateTime
- Type: System..::.DateTime
Date and Time when the event is going to start. (Converted to Server's Timezone).
- endDateTime
- Type: System..::.DateTime
Date and Time when the event is going to end. (Converted to Server's Timezone).
- showAs
- Type: OfficeClip.Utils..::.EventShowAs
Enumerated value of EventShowAs determining what kind of availability has to be displayed for the user for time period of the event. OfficeClip.Utils..::.EventShowAs