SPAlternateUrlCollection constructor (String, SPFarm)
Initializes a new instance of the SPAlternateUrlCollection class based on the specified name and server farm object.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
farm As SPFarm _
)
'Usage
Dim name As String
Dim farm As SPFarm
Dim instance As New SPAlternateUrlCollection(name, farm)
public SPAlternateUrlCollection(
string name,
SPFarm farm
)
Parameters
name
Type: System.StringA string containing the name.
farm
Type: Microsoft.SharePoint.Administration.SPFarmAn SPFarm object that represents the server farm.
See also
Reference
SPAlternateUrlCollection class
SPAlternateUrlCollection members