RetrieveAttributeRequest.RetrieveAsIfPublished Eigenschaft
Gets or sets whether to retrieve the metadata that has not been published. Required.
Namespace: Microsoft.Xrm.Sdk.Messages
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
'Declaration
Public Property RetrieveAsIfPublished As Boolean
public bool RetrieveAsIfPublished { get; set; }
Eigenschaftswert
Type: Boolesch
true if the metadata that has not been published should be retrieved; otherwise, false.
Anmerkungen
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-Sicherheit
Alle öffentlichen statischen Mitglieder (Shared in Visual Basic) dieses Typs sind thread-sicher. Bei Instanzmitgliedern kann keine Garantie für die Thread-Sicherheit übernommen werden.
Plattformen
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
Windows Server 2008,Windows Server 2012,Windows 7
Siehe auch
Referenz
RetrieveAttributeRequest Klasse
RetrieveAttributeRequest Mitglieder
Microsoft.Xrm.Sdk.Messages Namespace
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.