Compartilhar via


DefaultZoneOutgoingUrl Property

The DefaultZoneOutgoingUrl property of the SPVirtualServerConfig class gets or sets the outgoing URL that Windows SharePoint Services returns in response to a request originating in the default zone.

Property Value

A string that contains the outgoing URL.

Remarks

Setting the DefaultZoneOutgoingUrl property 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 (null 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, SharePoint uses the Microsoft Internet Information Services (IIS) metabase URL. In addition, when an outgoing URL is defined for the Default zone, SharePoint uses the URL in administrative e-mail messages, such as quota warnings and deadweb auto-delete warnings. Otherwise, SharePoint uses the IIS metabase URL.

This property becomes available through installation of Service Pack 2 for Windows SharePoint Services 2.0.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security