共用方式為


SPWebApplication.ExternalUrlZone Property

Gets or sets the URL zone to be used for cross-firewall access. A URL zone is a location in the topology of the server farm.

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

Syntax

'Declaration
Public Property ExternalUrlZone As Nullable(Of SPUrlZone)
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Nullable(Of SPUrlZone)

value = instance.ExternalUrlZone

instance.ExternalUrlZone = value
public Nullable<SPUrlZone> ExternalUrlZone { get; set; }

Property Value

Type: System.Nullable<SPUrlZone>
An SPUrlZone object that provides the URL zone to be used for cross-firewall access, if there is one; otherwise, a null reference (Nothing in Visual Basic).

Remarks

A zone associates an incoming request URL with an outgoing URL. Any number of incoming request URLs can be specified for each zone, but only one outgoing URL can be specified for each zone. An outgoing URL must always be associated with the default zone.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace