다음을 통해 공유


SPModule.Enabled Property

Gets or sets a Boolean value that specifies whether the module is enabled for the site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property Enabled As Boolean
    Get
    Set
'Usage
Dim instance As SPModule
Dim value As Boolean

value = instance.Enabled

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

Property Value

Type: System.Boolean
true if the module is enabled; otherwise, false.

See Also

Reference

SPModule Class

SPModule Members

Microsoft.SharePoint Namespace