次の方法で共有


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)

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