PortalSite(Microsoft.SharePoint.Portal.Topology.TeamSite, String, String, 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, default application pool, URL, component settings database, and profile database.


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

applicationName The value of the DefaultApplicationPoolName property associated with the portal site in Microsoft Internet Information Services (IIS).

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.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security