SPVirtualServerConfig.InternetZoneOutgoingUrl 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 Internet zone.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", _
False)> _
Public Property InternetZoneOutgoingUrl As String
Get
Set
'Usage
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
A string that contains the outgoing URL.
Remarks
Setting the InternetZoneOutgoingUrl 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).