Share via


PortalContext.WorkspaceUrl Property

NOTE: This API is now obsolete.

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
<ObsoleteAttribute("This class is obsolete.")> _
Public ReadOnly Property WorkspaceUrl As String
    Get
'Usage
Dim instance As PortalContext
Dim value As String

value = instance.WorkspaceUrl
[ObsoleteAttribute("This class is obsolete.")]
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