UserProfileChangeService.GetChangesWithRemotePersonalSiteHostUrl method
Gets the changes made to the user profiles using the specified change query and change token.
Namespace: WebSvcUserProfileChangeService
Assembly: UserProfileServices (in UserProfileServices.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService/GetChangesWithRemotePersonalSiteHostUrl", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService", _
ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetChangesWithRemotePersonalSiteHostUrl ( _
changeToken As String, _
changeQuery As UserProfileChangeQuery _
) As UserProfileChangeDataContainer
'Usage
Dim instance As UserProfileChangeService
Dim changeToken As String
Dim changeQuery As UserProfileChangeQuery
Dim returnValue As UserProfileChangeDataContainer
returnValue = instance.GetChangesWithRemotePersonalSiteHostUrl(changeToken, _
changeQuery)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService/GetChangesWithRemotePersonalSiteHostUrl", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService",
ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public UserProfileChangeDataContainer GetChangesWithRemotePersonalSiteHostUrl(
string changeToken,
UserProfileChangeQuery changeQuery
)
Parameters
changeToken
Type: System.StringThe starting location of the changes in the user profile change logs.
changeQuery
Type: WebSvcUserProfileChangeService.UserProfileChangeQueryA change query representing the requested change types and object types.
Return value
Type: WebSvcUserProfileChangeService.UserProfileChangeDataContainer
The changes made to the user profiles that match the filter criteria defined by the specified changeToken and changeQuery.
Exceptions
Exception | Condition |
---|---|
ArgumentException | changeQuery is not a UserProfileChangeQuery. |
ChangeTokenTooEarlyException | changeToken precedes the earliest user profile change. |
Remarks
This method sets the ChangeTokenStart property of the changeQuery parameter to the value of the changeToken parameter and then returns all user profile change entries that match the filter condition defined by the changeQuery, up to a limit of 1000. The results include the URL to the user’s remote personal site.
See also
Reference
UserProfileChangeService class