Share via


IPSContextInfo.UrlZone property

Gets the zone of the active SharePoint URL for the Project Web App instance.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
ReadOnly Property UrlZone As Integer
    Get
'Usage
Dim instance As IPSContextInfo
Dim value As Integer

value = instance.UrlZone
int UrlZone { get; }

Property value

Type: System.Int32

Remarks

Zone values are defined in the Microsoft.SharePoint.Administration.SPUrlZone enumeration. URL zones can be Default, Intranet, Internet, Custom, or Extranet.

See also

Reference

IPSContextInfo interface

IPSContextInfo members

Microsoft.Office.Project.Server.Library namespace