SPModule.ParentWeb Property

Gets the parent site of the module.

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

Syntax

'Declaration
Public ReadOnly Property ParentWeb As SPWeb
    Get
'Usage
Dim instance As SPModule
Dim value As SPWeb

value = instance.ParentWeb
public SPWeb ParentWeb { get; }

Property Value

Type: Microsoft.SharePoint.SPWeb
An Microsoft.SharePoint.SPWeb object that represents the parent site.

See Also

Reference

SPModule Class

SPModule Members

Microsoft.SharePoint Namespace