SPVirtualServerConfig.DefaultZoneOutgoingUrl 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 default zone.

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

Syntax

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

value = instance.DefaultZoneOutgoingUrl

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

Property value

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

Remarks

Setting the DefaultZoneOutgoingUrlproperty 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).

The Default zone has special behavior relative to the other zones. If Self-Service Site Creation is enabled on a virtual server for which an outgoing URL is defined for the Default zone, SharePoint Foundation uses that outgoing URL in the link within the Self-Service Site Creation announcement. Otherwise, SharePoint Foundation uses the Microsoft Internet Information Services (IIS) metabase URL. In addition, when an outgoing URL is defined for the Default zone, SharePoint Foundation uses the URL in administrative e-mail messages, such as quota warnings and deadweb auto-delete warnings. Otherwise, SharePoint Foundation uses the IIS metabase URL.

Note

In versions of IIS that were current before this class became obsolete the IIS configuration store was called the ‘metabase.’

See also

Reference

SPVirtualServerConfig class

SPVirtualServerConfig members

Microsoft.SharePoint.Administration namespace