Share via


PortalContext.WorkspaceUrl Property

Gets the URL of the document workspace associated with the portal site.

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

Syntax

'Declaration
Public ReadOnly Property WorkspaceUrl As String
    Get
'Usage
Dim instance As PortalContext
Dim value As String

value = instance.WorkspaceUrl
public string WorkspaceUrl { get; }

Property Value

Type: System.String
String that contains the URL of the document workspace associated with the portal site.

Remarks

The WorkspaceUrl property uses the URL mapping table (available through the PortalZone property) in Office SharePoint Server to return a context-sensitive URL based on the request URL, if available.

See Also

Reference

PortalContext Class

PortalContext Members

Microsoft.SharePoint.Portal Namespace