UserProfileService.UpdateLink method
Updates a link for the specified account name.
Namespace: WebSvcUserProfileService
Assembly: UserProfileServices (in UserProfileServices.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/UpdateLink", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", _
ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub UpdateLink ( _
accountName As String, _
data As QuickLinkData _
)
'Usage
Dim instance As UserProfileService
Dim accountName As String
Dim data As QuickLinkData
instance.UpdateLink(accountName, data)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/UpdateLink", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",
ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void UpdateLink(
string accountName,
QuickLinkData data
)
Parameters
accountName
Type: System.StringThe account name of the user.
data
Type: WebSvcUserProfileService.QuickLinkDataThe information about the quick link to update.
Exceptions
Exception | Condition |
---|---|
SoapException | The link cannot be updated. |
ArgumentNullException | data is null . |
Remarks
This method updates the specified quick link with the new value for the user specified by the accountName parameter.