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.StringThe 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.
urlZone
Type: Microsoft.SharePoint.Administration.SPUrlZoneAn SPUrlZone value that specifies the zone associated with this URL.