SPList.AllowMultiResponses property

Gets or sets a Boolean value specifying whether users are allowed to give multiple responses to the survey.

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

Syntax

'Declaration
Public Property AllowMultiResponses As Boolean
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.AllowMultiResponses

instance.AllowMultiResponses = value
public bool AllowMultiResponses { get; set; }

Property value

Type: System.Boolean
true if users are allowed to give multiple responses to the survey; otherwise, false.

Remarks

If the AllowMultiResponses property is set to true for any list other than a survey list, Microsoft SharePoint Foundation generates an SPException exception.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace