Propiedad RetrieveAttributeRequest.RetrieveAsIfPublished
Se aplica a: CRM 2015 on-prem, CRM Online
Gets or sets whether to retrieve the metadata that has not been published. Required.
Espacio de nombres: Microsoft.Xrm.Sdk.Messages
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)
Sintaxis
'Declaración
Public Property RetrieveAsIfPublished As Boolean
public bool RetrieveAsIfPublished { get; set; }
Valor de propiedad
Type: Booleano
true if the metadata that has not been published should be retrieved; otherwise, false.
Comentarios
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.
Seguridad de hilo
Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.
Plataformas
Plataformas de desarrollo
Windows Vista, Windows Server 2003 y
Plataformas de destino
Windows Vista,Windows XP
Vea también
Referencia
Clase de RetrieveAttributeRequest
Miembros de RetrieveAttributeRequest
Espacio de nombres de Microsoft.Xrm.Sdk.Messages
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.