Partager via


Classe RetrieveUnpublishedRequest

S'applique à: CRM 2015 on-prem, CRM Online

Contains the data that is needed to retrieve an unpublished record.

Espace de noms: Microsoft.Crm.Sdk.Messages
Assembly: Microsoft.Crm.Sdk.Proxy (dans Microsoft.Crm.Sdk.Proxy.dll)

Syntaxe

'Déclaration
<DataContractAttribute(Namespace:="https://schemas.microsoft.com/crm/2011/Contracts")> _
Public NotInheritable Class RetrieveUnpublishedRequest
    Inherits OrganizationRequest
[DataContractAttribute(Namespace="https://schemas.microsoft.com/crm/2011/Contracts")] 
public sealed class RetrieveUnpublishedRequest : OrganizationRequest

Remarques

Message Availability

Pour que ce message fonctionne, l'appelant doit être connecté au serveur.

Usage

Pass an instance of this class to the Execute method, which returns an instance of the RetrieveUnpublishedResponse class.

Privileges and Access Rights

To perform this action, the caller must have read access rights on the record specified in the Target property and the privileges that are listed in RetrieveUnpublished Privileges.

Notes for Callers

This message is included to support scenarios where you are creating a program to edit these types of entity records.

These organization-owned entities can be published. This message corresponds to the RetrieveRequest class except that it returns the current unpublished version of the record. When the record is published, this method and RetrieveRequest return the same data.

Because these records are automatically published when they are created or deleted, this message and RetrieveRequest only retrieve different data when a record has been updated but not published.

Supported Entities

Le tableau suivant montre les entités par défaut prenant en charge ce message. Pour les entités répertoriées, l'appelant doit être connecté au serveur pour que ce message soit disponible.

Entity Availability

savedquery

Server

savedqueryvisualization

Server

systemform

Server

webresource

Server

Hiérarchie d'héritage

System.Object
   Microsoft.Xrm.Sdk.OrganizationRequest
    Microsoft.Crm.Sdk.Messages.RetrieveUnpublishedRequest

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Voir aussi

Référence

Membres RetrieveUnpublishedRequest
Espace de noms Microsoft.Crm.Sdk.Messages
RetrieveRequest
Classe RetrieveUnpublishedMultipleRequest

Autres ressources

Publish Customizations

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.