共用方式為


SPVirtualServerConfig.InternetZoneOutgoingUrl 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 InternetZoneOutgoingUrl As String
    Get
    Set
'用途
Dim instance As SPVirtualServerConfig
Dim value As String

value = instance.InternetZoneOutgoingUrl

instance.InternetZoneOutgoingUrl = value
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public string InternetZoneOutgoingUrl { get; set; }

Property value

Type: System.String
內含傳出 URL 的字串。

備註

InternetZoneOutgoingUrl屬性設定需要的變更才會生效,虛擬伺服器組態屬性上呼叫SPPropertyBag.Update方法例如, virtual_Server.Config.Properties.Update()。

若要移除的外寄的 URL,設定此屬性等於 null 值 (a null reference (Nothing in Visual Basic)以 C#) 或Nothing在 Visual Basic.NET 中。

請參閱

參照

SPVirtualServerConfig class

SPVirtualServerConfig members

Microsoft.SharePoint.Administration namespace