RetrieveAllEntitiesRequest.RetrieveAsIfPublished Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether to retrieve the metadata that has not been published. Required.
public:
property bool RetrieveAsIfPublished { bool get(); void set(bool value); };
public bool RetrieveAsIfPublished { get; set; }
member this.RetrieveAsIfPublished : bool with get, set
Public Property RetrieveAsIfPublished As Boolean
Property Value
true
if the metadata that has not been published should be retrieved; otherwise, false
.
Remarks
If you are creating an table editor you will need to retrieve table schema 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.