Condividi tramite


SPVirtualServerConfig.ExtranetZoneOutgoingUrl Property

NOTE: This API is now obsolete.

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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.ExtranetZoneOutgoingUrl

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

Property Value

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

Remarks

Setting the **ExtranetZoneOutgoingUr()**l property requires calling Update 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).

See Also

Reference

SPVirtualServerConfig Class

SPVirtualServerConfig Members

Microsoft.SharePoint.Administration Namespace