SPMeeting.InstanceId property

Gets or sets the instance identifier (ID) of a meeting.

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

Syntax

'Declaration
Public Property InstanceId As Integer
    Get
    Set
'Usage
Dim instance As SPMeeting
Dim value As Integer

value = instance.InstanceId

instance.InstanceId = value
public int InstanceId { get; set; }

Property value

Type: System.Int32
A value that identifies an instance of a meeting. Single-instance meetings in a Meeting Workspace are numbered consecutively in the order that they are added to the site. Instances of a recurring meeting are numbered with a value that corresponds to the date, in the format YYYYMMDD. For example, the value that identifies an instance of a recurring meeting scheduled for May 1, 2010 is 20100501.

Remarks

Each occurrence of a meeting within a Meeting Workspace site is identified by an instance ID. When an SPMeeting object is initialized, the InstanceId property is set to the instance ID for the first upcoming meeting instance.

The results of a query against a list in a Meeting Workspace site are limited to the items that are associated with the meeting instance that is specified by the current setting of the InstanceId property. You can change the results, either by setting the InstanceId property to another value or by setting the MeetingInstanceId property of the SPQuery object. Unlike the InstanceId property, the MeetingInstanceId property can be set to a Microsoft.SharePoint.Meetings.SPMeeting.SpecialInstance value. (You must cast the SPMeeting.SpecialInstance enumeration to an integer before setting the MeetingInstanceId property.)

See also

Reference

SPMeeting class

SPMeeting members

Microsoft.SharePoint.Meetings namespace

MeetingInstanceId