다음을 통해 공유


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

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