AuthorityPageCollection.UpdateUrl method
Updates the Url of an existing authority page in the database. Returns true if the page was sucessfully updated. Does not update the AuthorityPages collection. Must explicitly call Refresh() after calling this function.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function UpdateUrl ( _
oldPage As AuthorityPage, _
newUri As Uri _
) As Boolean
'Usage
Dim instance As AuthorityPageCollection
Dim oldPage As AuthorityPage
Dim newUri As Uri
Dim returnValue As Boolean
returnValue = instance.UpdateUrl(oldPage, _
newUri)
public bool UpdateUrl(
AuthorityPage oldPage,
Uri newUri
)
Parameters
- newUri
Type: System.Uri
Return value
Type: System.Boolean
Returns Boolean.