[This is preliminary documentation and is subject to change.]
            Gets all the upcoming events for the currently logged in user
            from the database based on the type of event selected.
            
    Namespace: 
   OfficeClip.DBLayer.DesktopAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
| C# | 
|---|
public DataSet GetUpcomingEvents( GroupSelection eventType, int userId, int groupId )  | 
| Visual Basic (Declaration) | 
|---|
Public Function GetUpcomingEvents ( _ eventType As GroupSelection, _ userId As Integer, _ groupId As Integer _ ) As DataSet  | 
| Visual C++ | 
|---|
public: DataSet^ GetUpcomingEvents( GroupSelection eventType, int userId, int groupId )  | 
Parameters
- eventType
 - Type: OfficeClip.Utils..::.GroupSelection
The type of events which need to be returned. OfficeClip.Utils..::.GroupSelection 
- userId
 - Type: System..::.Int32
The unique id of the current user 
- groupId
 - Type: System..::.Int32
The unique id of the organization 
Return Value
DataSet containing all the upcoming event releated information. DataSet contains a single table containing the following columns.- eventId (System.Int32) Id of the event.
 - eventName (System.String) Name of the event.
 - EventDescription (System.String) Description of the event.
 - groupName (System.String) Name of the group to which the event belongs if it is a group type event.
 - startDatetime (System.DateTime) Starting Date and Time of the event. (Convert into currently logged in user's timezone)
 - endDatetime (System.DateTime) Ending Date and Time of the event. (Convert into currently logged in user's timezone)
 - isPrivate (System.String) Flag (Y/N) indicating whether event is a group or private event.
 
