SPAlternateUrl constructor (Uri, SPUrlZone)
Initializes a new instance of the SPAlternateUrl class with the specified URI and URL zone.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
requestUri As Uri, _
zone As SPUrlZone _
)
'Usage
Dim requestUri As Uri
Dim zone As SPUrlZone
Dim instance As New SPAlternateUrl(requestUri, _
zone)
public SPAlternateUrl(
Uri requestUri,
SPUrlZone zone
)
Parameters
requestUri
Type: System.UriA System.Uri object that that represents the incoming URL. An incoming URL can be specified only once in the SharePoint Foundation farm.
zone
Type: Microsoft.SharePoint.Administration.SPUrlZoneAn SPUrlZone value that specifies the zone associated with this URL.