UpdateRequest.Target Property

Definition

Gets or sets an instance of an entity that is used to update a record. Required.

public:
 property Microsoft::Xrm::Sdk::Entity ^ Target { Microsoft::Xrm::Sdk::Entity ^ get(); void set(Microsoft::Xrm::Sdk::Entity ^ value); };
public Microsoft.Xrm.Sdk.Entity Target { get; set; }
member this.Target : Microsoft.Xrm.Sdk.Entity with get, set
Public Property Target As Entity

Property Value

The entity instance used to update the record.

Remarks

If the target contains values for attributes that are not valid for update, they are ignored. This is where the AttributeMetadata.IsValidForUpdate property is false. You can find this information in the metadata for your organization. Learn to view detailed table definition data in your environment

Applies to