SPVirtualServerConfig.CustomZoneOutgoingUrl property
NOTE: This API is now obsolete.
取得或設定源自自訂區域中的要求的回應會傳回該SharePoint Foundation傳出 URL。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", _
False)> _
Public Property CustomZoneOutgoingUrl As String
Get
Set
'用途
Dim instance As SPVirtualServerConfig
Dim value As String
value = instance.CustomZoneOutgoingUrl
instance.CustomZoneOutgoingUrl = value
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",
false)]
public string CustomZoneOutgoingUrl { get; set; }
Property value
Type: System.String
內含傳出 URL 的字串。
備註
設定CustomZoneOutgoingUrl需要的變更才會生效,例如virtual_Server.Config.Properties.Update()虛擬伺服器組態屬性上呼叫Update方法。
若要移除的外寄的 URL,設定此屬性等於 null 值 (a null reference (Nothing in Visual Basic)以 C#) 或Nothing在 Visual Basic.NET 中。