SPVirtualServerConfig.CustomZoneOutgoingUrl Property
NOTE: This API is now obsolete.
Gets or sets the outgoing URL that Windows SharePoint Services returns in response to a request originating in the custom zone.
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
A string that contains the outgoing URL.
Remarks
Setting CustomZoneOutgoingUrl requires calling the 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).