Propriedade RetrieveAttributeRequest.RetrieveAsIfPublished
Aplica-se a: CRM 2015 on-prem, CRM Online
Gets or sets whether to retrieve the metadata that has not been published. Required.
Namespace: Microsoft.Xrm.Sdk.Messages
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)
Sintaxe
'Declaração
Public Property RetrieveAsIfPublished As Boolean
public bool RetrieveAsIfPublished { get; set; }
Valor de Propriedade
Type: Booleano
true if the metadata that has not been published should be retrieved; otherwise, false.
Comentários
If you are creating an attribute editor you will need to retrieve entity data that has been saved but not published. For other scenarios you will want to only retrieve published metadata.
Set this value to true to include unpublished changes, as it would look if you called publish.
Set this value to false to include only the currently published changes, ignoring the changes that haven't yet been published.
Segurança do Thread
Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows Server 2003 e
Plataformas de destino
Windows Vista,Windows XP
Consulte também
Referência
Classe RetrieveAttributeRequest
Membros de RetrieveAttributeRequest
Namespace Microsoft.Xrm.Sdk.Messages
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.