SPAlternateUrl constructor (String, SPUrlZone)

Initializes a new instance of the SPAlternateUrl class with the specified incoming URL and URL zone.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    incomingUrl As String, _
    urlZone As SPUrlZone _
)
'Usage
Dim incomingUrl As String
Dim urlZone As SPUrlZone

Dim instance As New SPAlternateUrl(incomingUrl, _
    urlZone)
public SPAlternateUrl(
    string incomingUrl,
    SPUrlZone urlZone
)

Parameters

  • incomingUrl
    Type: System.String

    The original URL from the request context or higher-level object model call. An incoming URL can be specified only once in the Microsoft SharePoint Foundation farm.

See also

Reference

SPAlternateUrl class

SPAlternateUrl members

SPAlternateUrl overload

Microsoft.SharePoint.Administration namespace