This documentation is archived and is not being maintained.

PortalName Property

SharePoint 2003

The PortalName property of the SPSite class gets or sets the name of a portal.

Property Value

A string that contains the portal name.

Remarks

The PortalName property must be set together with the PortalUrl property in order to establish a connection to a portal site. The PortalUrl property must be specified first and the PortalName property second.

Example

The following code example uses the PortalName property to establish a connection to a portal site from the specified site collection.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security

Show: