SPQuery.MeetingInstanceId property

Gets or sets the ID that specifies the meeting instance from which to return information in the query.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public int MeetingInstanceId { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the ID.

If the MeetingInstanceId property is set, the query returns information for the specified meeting instance. If not set, the query by default returns information for the first upcoming meeting instance. This property can be set to an SPMeeting.SpecialInstance value.

Each occurrence within a Meeting Workspace site with a recurring event or multiple single events linked to it has a unique instance ID. Items in the list are identified by the instance ID of the occurrence to which they correspond, which allows the list data to be filtered for items that correspond to a specific occurrence. Set this property and then pass the query as the parameter for a GetItems method of the SPList class to return items for a specific occurrence.