Condividi tramite


Proprietà RetrieveAttributeRequest.RetrieveAsIfPublished

Si applica a: CRM 2015 on-prem, CRM Online

Gets or sets whether to retrieve the metadata that has not been published. Required.

Spazio dei nomi: Microsoft.Xrm.Sdk.Messages
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Sintassi

'Dichiarazione
Public Property RetrieveAsIfPublished As Boolean
public bool RetrieveAsIfPublished { get; set; }

Valore proprietà

Type: Booleano
true if the metadata that has not been published should be retrieved; otherwise, false.

Note

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.

Thread Safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows Vista,Windows XP

Vedere anche

Riferimento

Classe RetrieveAttributeRequest
Membri RetrieveAttributeRequest
Spazio dei nomi Microsoft.Xrm.Sdk.Messages

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