RetrieveUnpublishedMultipleRequest 类

应用到: CRM 2015 on-prem, CRM Online

Contains the data that is needed to retrieve a collection of unpublished organization-owned records that satisfy the specified query criteria.

命名空间: Microsoft.Crm.Sdk.Messages
程序集: Microsoft.Crm.Sdk.Proxy (在 Microsoft.Crm.Sdk.Proxy.dll 中)

语法

声明
<DataContractAttribute(Namespace:="https://schemas.microsoft.com/crm/2011/Contracts")> _
Public NotInheritable Class RetrieveUnpublishedMultipleRequest
    Inherits OrganizationRequest
[DataContractAttribute(Namespace="https://schemas.microsoft.com/crm/2011/Contracts")] 
public sealed class RetrieveUnpublishedMultipleRequest : OrganizationRequest

备注

Message Availability

若要使此消息正常工作,调用方必须连接到服务器。

Usage

将此类的实例传递给 Execute method, which returns an instance of the RetrieveUnpublishedMultipleResponse class.

Privileges and Access Rights

To perform this action, the caller must have privileges on the specified entities in the Query property and read access rights on the records that are returned from the query. For a list of the required privileges, see RetrieveUnpublishedMultiple 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 RetrieveMultipleRequest message except that it returns the current unpublished version of the records. As soon as the records are published, this message and RetrieveMultipleRequest return the same data.

Because these records are automatically published when they are created or deleted, this message and RetrieveMultipleRequest always return the same number of records.

Supported Entities

下表显示支持此消息的默认实体。对于列出的实体,调用方必须连接到服务器才能使此消息可用。

Entity Availability

SavedQuery

Server

SavedQueryVisualization

Server

SiteMap

Server

SystemForm

Server

WebResource

Server

继承层次结构

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

线程安全性

此类型的所有公共静态(Visual Basic 中的 Shared)成员都是线程安全成员。不保证任何实例成员是线程安全成员。

平台

开发平台

Windows Vista、Windows Server 2003 和

目标平台

Windows Vista,Windows XP

另请参阅

参考

RetrieveUnpublishedMultipleRequest 成员
Microsoft.Crm.Sdk.Messages 命名空间
RetrieveMultipleRequest
RetrieveUnpublishedRequest

其他资源

Publish Customizations

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