แชร์ผ่าน


CreateRequest.Target Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets an instance of an entity that you can use to create a new record. Required.

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

Syntax

public Entity Target { get; set; }
Public Property Target As Entity

Property Value

Type: Microsoft.Xrm.Sdk.Entity

Type: Entity
The entity instance.

Remarks

The specified target record must contain values for all the attributes where the RequiredLevel is set to SystemRequired. You can see the required level value for each entity in the Entity Metadata topic for the entity. If the entity instance includes properties where IsValidForCreate is false, the values are ignored. You can find this information in the metadata for your organization. See the preceding metadata browser information.

See Also

CreateRequest Class
Microsoft.Xrm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright