TechNet
Export (0) Print
Expand All

LookupAttributeMetadata.Targets Property

 

Gets or sets the target entity types for the lookup.

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

[DataMemberAttribute]
public string[] Targets { get; set; }

Property Value

Type: System.String[]

Type: String[]
The array of target entity types for the lookup.

The value contains an array of entity logical names. If this value is not null, the lookup can only reference the entities contained in the array. If the value is null, use of the of the lookup attribute is not supported.

Return to top

Microsoft Dynamics CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show:
© 2016 Microsoft