PortalApplication Class

The PortalApplication class provides runtime support for a SharePoint Portal Server application.

System.Object

   Microsoft.SharePoint.Portal.PortalApplication

Public Methods

The following table shows the methods of the PortalApplication class and a brief description of each.

Name Description
GetCanonicalUrl(String) Gets the canonical form of a URL.
GetContext Gets a reference to a PortalContext object that represents the current application context.
GetContext(System.Guid) Gets a reference to a PortalContext object that represents the current application context from the specified GUID.
GetContext(System.Guid, Microsoft.SharePoint.Portal.PortalZone) Gets a reference to a PortalContext object that represents the current application context from the specified GUID and portal zone.
GetContext(System.Web.HttpContext) Gets a reference to a PortalContext object that represents the current application context from the specified HttpContext object.
GetContext(Microsoft.SharePoint.Portal.Topology.PortalSite, Microsoft.SharePoint.Portal.PortalZone) Gets a reference to a PortalContext object that represents the current application context for the specified portal site and portal zone.
GetContext(Microsoft.SharePoint.Portal.Topology.PortalSite) Gets a reference to a PortalContext object that represents the current application context for the specified portal site.
GetMappedUrl(String, Microsoft.SharePoint.Portal.PortalZone) Gets the mapped form of a canonical URL.
Refresh Refreshes the SharePoint Portal Server runtime cache.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint.Portal

Platforms: Windows Server 2003

Assembly: Microsoft.SharePoint.Portalr (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security