SPWeb.PortalName Property

Gets the name of a portal site that is associated with the site.

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

Syntax

'Declaration
Public ReadOnly Property PortalName As String
    Get
'Usage
Dim instance As SPWeb
Dim value As String

value = instance.PortalName
public string PortalName { get; }

Property Value

Type: System.String
A string that contains the name of the portal site.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace