SPVirtualServerConfig.IntranetZoneOutgoingUrl property

NOTE: This API is now obsolete.

Gets or sets the outgoing URL that SharePoint Foundation returns in response to a request that originates in the intranet zone.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public Property IntranetZoneOutgoingUrl As String
    Get
    Set
'Usage
Dim instance As SPVirtualServerConfig
Dim value As String

value = instance.IntranetZoneOutgoingUrl

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

Property value

Type: System.String
A string that contains the outgoing URL.

Remarks

Setting the IntranetZoneOutgoingUrl property requires calling the SPPropertyBag.Update method on the virtual server configuration properties for changes to take effect; for example, virtual_Server.Config.Properties.Update().

To remove the outgoing URL, set this property equal to a null value (a null reference (Nothing in Visual Basic) in C# or Nothing in Visual Basic .NET).

See also

Reference

SPVirtualServerConfig class

SPVirtualServerConfig members

Microsoft.SharePoint.Administration namespace