Compartilhar 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)
Available in Sandboxed Solutions: No

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