Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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