Compartilhar via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property MeetingInstanceId As Integer
    Get
    Set
'Usage
Dim instance As SPQuery
Dim value As Integer

value = instance.MeetingInstanceId

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

Property Value

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

Remarks

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.

See Also

Reference

SPQuery Class

SPQuery Members

Microsoft.SharePoint Namespace