UserProfileService.UpdatePinnedLink method

Updates the pinned link data for the specified account name.

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

Syntax

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

instance.UpdatePinnedLink(accountName, _
    data)
[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/UpdatePinnedLink", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    ResponseNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void UpdatePinnedLink(
    string accountName,
    PinnedLinkData data
)

Parameters

Exceptions

Exception Condition
SoapException

The pinned link data cannot be updated.

ArgumentNullException

data is null .

Remarks

This method updates the specified pinned link with the new value for the user specified by the accountName parameter.

See also

Reference

UserProfileService class

UserProfileService members

WebSvcUserProfileService namespace