UserProfileChangeService.GetChanges Method
Gets changes made to the user profiles using the specified change query and the specified change token.
Namespace: [UserProfileChangeService Web service]
Web service reference: http://Site/_vti_bin/UserProfileChangeService.asmx
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService/GetChanges", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService", _
ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetChanges ( _
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.GetChanges(changeToken, _
changeQuery)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService/GetChanges", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService",
ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public UserProfileChangeDataContainer GetChanges(
string changeToken,
UserProfileChangeQuery changeQuery
)
Parameters
changeToken
Type: System.StringThe starting location of the changes in the user profile change logs.
changeQuery
Type: [UserProfileChangeService Web service].UserProfileChangeQueryA change query representing the requested change types and object types.
Return Value
Type: [UserProfileChangeService Web service].UserProfileChangeDataContainer
The changes made to the user profiles that match the filter defined by the specified change token and change query.
Exceptions
Exception | Condition |
---|---|
ChangeTokenTooEarlyException | changeToken precedes the earliest user profile change. |
ArgumentException | changeQuery is not a UserProfileChangeQuery. |
Remarks
This method sets the ChangeTokenStart property of the changeQuery parameter.
See Also
Reference
UserProfileChangeService Class