UserProfileService.RemovePinnedLink method

Removes a pinned link for the specified account name.

Namespace:  WebSvcUserProfileService
Assembly:  UserProfileServices (in UserProfileServices.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/RemovePinnedLink", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",  _
    ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub RemovePinnedLink ( _
    accountName As String, _
    id As Integer _
)
'Usage
Dim instance As UserProfileService
Dim accountName As String
Dim id As Integer

instance.RemovePinnedLink(accountName, _
    id)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/RemovePinnedLink", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void RemovePinnedLink(
    string accountName,
    int id
)

Parameters

  • id
    Type: System.Int32

    The ID of the pinned link to remove.

Exceptions

Exception Condition
SoapException

The link cannot be removed.

Remarks

This method deletes the pinned link with the specified ID for the user specified by the accountName parameter.

See also

Reference

UserProfileService class

UserProfileService members

WebSvcUserProfileService namespace