Freigeben über


DeleteRequest.Target Property

Definition

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.

Applies to