Share via


WebPartPermission.Connections Property

NOTE: This API is now obsolete.

Gets or sets a value that determines whether Web Part to Web Part connections are allowed.

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

Syntax

'Declaration
<ObsoleteAttribute("Web Part permissions are obsolete and no longer required")> _
Public Property Connections As Boolean
    Get
    Set
'Usage
Dim instance As WebPartPermission
Dim value As Boolean

value = instance.Connections

instance.Connections = value
[ObsoleteAttribute("Web Part permissions are obsolete and no longer required")]
public bool Connections { get; set; }

Property Value

Type: System.Boolean
A Boolean value that is true if Web Part to Web Part connections are allowed; otherwise, false.

See Also

Reference

WebPartPermission Class

WebPartPermission Members

Microsoft.SharePoint.Security Namespace