Condividi tramite


SPList.MultipleDataList Property

Gets or sets a Boolean value that specifies whether the list in a Meeting Workspace site contains data for multiple meeting instances within the site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property MultipleDataList As Boolean
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.MultipleDataList

instance.MultipleDataList = value
[ClientCallableAttribute]
public bool MultipleDataList { get; set; }

Property Value

Type: System.Boolean
true if the list contains data for multiple meeting instances; otherwise, false.

Remarks

Each occurrence within a Meeting Workspace site with a recurring event or multiple single events that are linked to it has a unique instance ID. Items in the list are identified by the instance ID of the occurrence they correspond to, allowing the list data to be filtered for items that correspond to a specific occurrence.

The default value of the MultipleDataList property for a list in a Meeting Workspace site is true. The default can be changed to false for a list type by adding the attribute MultipleMtgDataList="FALSE" to the corresponding ListTemplate Element (Site) element in the Understanding Onet.xml Files file of the site definition. For some special list types, such as MeetingSeries, DataSources, or catalog-type lists, this value is always false. For normal lists, this value is true.

If the value of this property is switched from true to false, existing or new list data will lose its instance assignment and will appear in all meeting instances. If the base type of the list is DocumentLibrary, the folder structure for existing per-instance documents, which are contained in per-instance subfolders within the root folder of the document library, will be maintained. However, all instance subfolders will appear in all meeting instances and new documents will be placed in the root folder by default.

Because a series list cannot be changed to a normal list, switching the value of this property from false to true is not allowed and throws an exception of type SPException for invalid data.

If set to false for an Attendees list, this property throws an SPException exception for invalid data.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace