PortalSite(Microsoft.SharePoint.Portal.Topology.TeamSite, System.Uri, Microsoft.SharePoint.Portal.Topology.Database, Microsoft.SharePoint.Portal.Topology.Database) Constructor

The PortalSite constructor initializes a new instance of the PortalSite class based on the specified TeamSite instance, URL, component settings database, and profile database.

Parameters

teamSite   The TeamSite instance upon which the portal site is based.

url   The URL of the portal site.

serviceDatabase   The Database object to use for the component settings database.

userProfileDatabase   The Database object to use for the profile database.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security