IPSContextInfo.UrlZone 屬性
會將使用中的 SharePoint url 的區域取得Project Web App執行個體。
命名空間: Microsoft.Office.Project.Server.Library
組件: Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)
語法
'宣告
ReadOnly Property UrlZone As Integer
Get
'用途
Dim instance As IPSContextInfo
Dim value As Integer
value = instance.UrlZone
int UrlZone { get; }
屬性值
類型:System.Int32
備註
區域的值會定義Microsoft.SharePoint.Administration.SPUrlZone列舉中。URL 區域可以Default、 Intranet、 Internet、 Custom或Extranet。