DeleteRequest.Target 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 the reference to the record that you want to delete. Required.
public:
property Microsoft::Xrm::Sdk::EntityReference ^ Target { Microsoft::Xrm::Sdk::EntityReference ^ get(); void set(Microsoft::Xrm::Sdk::EntityReference ^ value); };
public Microsoft.Xrm.Sdk.EntityReference Target { get; set; }
member this.Target : Microsoft.Xrm.Sdk.EntityReference with get, set
Public Property Target As EntityReference
Property Value
The reference to the record that you want to delete.
Remarks
You must make sure that the EntityReference.RowVersion property contains a value when you set the DeleteRequest.ConcurrencyBehavior property to ConcurrencyBehavior.IfRowVersionMatches.