SPVirtualServerConfig.DefaultZoneOutgoingUrl Property

NOTE: This API is now obsolete.

Gets or sets the outgoing URL that Windows SharePoint Services returns in response to a request that originates in the default zone.

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


<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public Property DefaultZoneOutgoingUrl As String

Dim instance As SPVirtualServerConfig
Dim value As String

value = instance.DefaultZoneOutgoingUrl

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

Property Value

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


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, Windows SharePoint Services uses that outgoing URL in the link within the Self-Service Site Creation announcement. Otherwise, Windows SharePoint Services uses the Microsoft Internet Information Services (IIS) metabase URL. In addition, when an outgoing URL is defined for the Default zone, Windows SharePoint Services uses the URL in administrative e-mail messages, such as quota warnings and deadweb auto-delete warnings. Otherwise, Windows SharePoint Services uses the IIS metabase URL.

See Also


SPVirtualServerConfig Class

SPVirtualServerConfig Members

Microsoft.SharePoint.Administration Namespace