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)

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