Share via


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.Uri

    A System.Uri object that that represents the incoming URL. An incoming URL can be specified only once in the SharePoint Foundation farm. 

See also

Reference

SPAlternateUrl class

SPAlternateUrl members

SPAlternateUrl overload

Microsoft.SharePoint.Administration namespace