Share via


SPWebPartConnection.IsEnabled property

Gets or sets a value that indicates whether the SPWebPartConnection is enabled.

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

Syntax

'Declaration
Public Property IsEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPWebPartConnection
Dim value As Boolean

value = instance.IsEnabled

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

Property value

Type: System.Boolean
true if the SPWebPartConnection is enabled; otherwise, false. The default value is true.

Remarks

This value must be true to activate the connection.

See also

Reference

SPWebPartConnection class

SPWebPartConnection members

Microsoft.SharePoint.WebPartPages namespace