应用到: CRM 2015 on-prem, CRM Online
Contains the data that is needed to retrieve an unpublished record.
命名空间: 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 RetrieveUnpublishedRequest
Inherits OrganizationRequest
[DataContractAttribute(Namespace="https://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class RetrieveUnpublishedRequest : OrganizationRequest
备注
Message Availability
若要使此消息正常工作,调用方必须连接到服务器。
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
下表显示支持此消息的默认实体。对于列出的实体,调用方必须连接到服务器才能使此消息可用。
| Entity | Availability |
|---|---|
savedquery |
Server |
savedqueryvisualization |
Server |
systemform |
Server |
webresource |
Server |
继承层次结构
System.Object
Microsoft.Xrm.Sdk.OrganizationRequest
Microsoft.Crm.Sdk.Messages.RetrieveUnpublishedRequest
线程安全性
此类型的所有公共静态(Visual Basic 中的 Shared)成员都是线程安全成员。不保证任何实例成员是线程安全成员。
平台
开发平台
Windows Vista、Windows Server 2003 和
目标平台
Windows Vista,Windows XP
另请参阅
参考
RetrieveUnpublishedRequest 成员
Microsoft.Crm.Sdk.Messages 命名空间
RetrieveRequest
RetrieveUnpublishedMultipleRequest 类
其他资源
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.