Share via


PublishingService.GetFriendlyUrl method

Retrieves all of the properties that are associated with the specified friendly URL that is represented by the url that is passed in.

Namespace:  Microsoft.SharePoint.Publishing.WebServices
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function GetFriendlyUrl ( _
    url As String _
) As FriendlyUrl
'Usage
Dim instance As PublishingService
Dim url As String
Dim returnValue As FriendlyUrl

returnValue = instance.GetFriendlyUrl(url)
[WebMethodAttribute]
public FriendlyUrl GetFriendlyUrl(
    string url
)

Parameters

  • url
    Type: System.String

    The URL of the friendly URL for each of the properties to be fetched.

Return value

Type: Microsoft.SharePoint.Publishing.WebServices.FriendlyUrl
All of the properties that are associated with the specified friendly URL.

Remarks

The FriendlyUrl object contains many properties that are obtained either from the TermStore object or from the content database, depending on where the specific property is stored.

See also

Reference

PublishingService class

PublishingService members

Microsoft.SharePoint.Publishing.WebServices namespace