[This is preliminary documentation and is subject to change.]
Inserts all the different values corresponding to an event into the database.
Namespace:
OfficeClip.DBLayer.DesktopAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public int InsertEvent( EventType eventType, string eventName, string location, string url, bool IsRSVP, int resourceId, string EventDescription, DateTime startDatetime, DateTime endDatetime, EventShowAs showAs, string RepeatInfoText, int repeatingSequenceId, string docIdList, int EventUserId, int labelId, BusinessConstants..::.ObjectType parentObjectType, int parentObjectId, int createdByUserId, ref DateTime modifiedTime, int groupId ) |
Visual Basic (Declaration) |
---|
Public Function InsertEvent ( _ eventType As EventType, _ eventName As String, _ location As String, _ url As String, _ IsRSVP As Boolean, _ resourceId As Integer, _ EventDescription As String, _ startDatetime As DateTime, _ endDatetime As DateTime, _ showAs As EventShowAs, _ RepeatInfoText As String, _ repeatingSequenceId As Integer, _ docIdList As String, _ EventUserId As Integer, _ labelId As Integer, _ parentObjectType As BusinessConstants..::.ObjectType, _ parentObjectId As Integer, _ createdByUserId As Integer, _ ByRef modifiedTime As DateTime, _ groupId As Integer _ ) As Integer |
Visual C++ |
---|
public: int InsertEvent( EventType eventType, String^ eventName, String^ location, String^ url, bool IsRSVP, int resourceId, String^ EventDescription, DateTime startDatetime, DateTime endDatetime, EventShowAs showAs, String^ RepeatInfoText, int repeatingSequenceId, String^ docIdList, int EventUserId, int labelId, BusinessConstants..::.ObjectType parentObjectType, int parentObjectId, int createdByUserId, DateTime% modifiedTime, int groupId ) |
Parameters
- eventType
- Type: OfficeClip.Utils..::.EventType
Type of the event. OfficeClip.Utils..::.EventType
- eventName
- Type: System..::.String
Name of the event.
- location
- Type: System..::.String
location where the event is going to take place.
- url
- Type: System..::.String
Url of a web page giving extra information about the event or otherwise related information.
- IsRSVP
- Type: System..::.Boolean
Flag indicating whether an RSVP has been requested for the meeting event.
- resourceId
- Type: System..::.Int32
Id of the resource being reserved with the event.
- EventDescription
- Type: System..::.String
Description of the event.
- startDatetime
- Type: System..::.DateTime
Date and Time when the event is going to start. (Converted to the Server's timezone).
- endDatetime
- Type: System..::.DateTime
Date and Time when the event is going to end. (Converted to the Server's timezone).
- showAs
- Type: OfficeClip.Utils..::.EventShowAs
Enumerated value EventShowAs determining the availablility of the user during the time period of the event. OfficeClip.Utils..::.EventShowAs
- RepeatInfoText
- Type: System..::.String
Textual string giving briefly describing the event and when it is going to take place.
- repeatingSequenceId
- Type: System..::.Int32
The unique id assigned to a set of repeating events.
- docIdList
- Type: System..::.String
Ids of the documents (comma separated) created and attached along with the event using the docattach.ascx control.
- EventUserId
- Type: System..::.Int32
The user id of the event creator
- labelId
- Type: System..::.Int32
The label Id
- parentObjectType
- Type: OfficeClip.BusinessLayer..::.BusinessConstants..::.ObjectType
the object type of the parent
- parentObjectId
- Type: System..::.Int32
The parent object id
- createdByUserId
- Type: System..::.Int32
The user id of the user that has created the event
- modifiedTime
- Type: System..::.DateTime%
The time this event is modified
- groupId
- Type: System..::.Int32
the unique id of the organization