Dela via


UpdateRequest.Target Property

 

Applies To: Dynamics CRM 2015

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

Namespace:   Microsoft.Xrm.Sdk.Messages
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

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

Property Value

Type: Microsoft.Xrm.Sdk.Entity

Type: Entity
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 IsValidForUpdate is false. You can find this information in the metadata for your organization. See the preceding metadata browser information.

See Also

UpdateRequest Class
Microsoft.Xrm.Sdk.Messages Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright