RetrieveMetadataChangesRequest RetrieveMetadataChangesRequest RetrieveMetadataChangesRequest RetrieveMetadataChangesRequest Class


Contains the data that is needed to to retrieve a collection of metadata records that satisfy the specified criteria. The RetrieveMetadataChangesResponse returns a timestamp value that can be used with this request at a later time to return information about how metadata has changed since the last request.

public ref class RetrieveMetadataChangesRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
public sealed class RetrieveMetadataChangesRequest : Microsoft.Xrm.Sdk.OrganizationRequest
type RetrieveMetadataChangesRequest = class
    inherit OrganizationRequest
Public NotInheritable Class RetrieveMetadataChangesRequest
Inherits OrganizationRequest


The following example shows how to use this message. For this sample to work correctly, you must be connected to the server to get an IOrganizationService interface.

// Retrieve Metadata changes
        protected RetrieveMetadataChangesResponse getMetadataChanges(
 EntityQueryExpression entityQueryExpression,
 String clientVersionStamp,
 DeletedMetadataFilters deletedMetadataFilter)
 RetrieveMetadataChangesRequest retrieveMetadataChangesRequest = new RetrieveMetadataChangesRequest()
  Query = entityQueryExpression,
  ClientVersionStamp = clientVersionStamp,
  DeletedMetadataFilters = deletedMetadataFilter
    return (RetrieveMetadataChangesResponse)svc.Execute(retrieveMetadataChangesRequest);


Message Availability

This message works regardless whether the caller is connected to the server or offline.


Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of RetrieveMetadataChangesResponse.

Notes for Callers


RetrieveMetadataChangesRequest() RetrieveMetadataChangesRequest() RetrieveMetadataChangesRequest() RetrieveMetadataChangesRequest()

Initializes a new instance of the RetrieveMetadataChangesRequest class.


ClientVersionStamp ClientVersionStamp ClientVersionStamp ClientVersionStamp

Gets or sets a timestamp value representing when the last request was made.

DeletedMetadataFilters DeletedMetadataFilters DeletedMetadataFilters DeletedMetadataFilters

Gets or sets a value to filter what deleted metadata items will be returned.

ExtensionData ExtensionData ExtensionData ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String] Item[String] Item[String] Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters Parameters Parameters Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
Query Query Query Query

Gets or sets the query representing the metadata to return.

RequestId RequestId RequestId RequestId

Gets or sets the ID of an asynchronous operation (system job). Optional.

(Inherited from OrganizationRequest)
RequestName RequestName RequestName RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)

Applies to