Partekatu honen bidez:


Propiedad LookupAttributeMetadata.Targets

Se aplica a: CRM 2015 on-prem, CRM Online

Gets or sets the target entity types for the lookup.

Espacio de nombres: Microsoft.Xrm.Sdk.Metadata
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)

Sintaxis

'Declaración
<DataMemberAttribute> _
<SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")> _
Public Property Targets As String()
[DataMemberAttribute] 
[SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")] 
public string[] Targets { get; set; }

Valor de propiedad

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

Comentarios

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.

Seguridad de hilo

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.

Plataformas

Plataformas de desarrollo

Windows Vista, Windows Server 2003 y

Plataformas de destino

Windows Vista,Windows XP

Vea también

Referencia

Clase de LookupAttributeMetadata
Miembros de LookupAttributeMetadata
Espacio de nombres de Microsoft.Xrm.Sdk.Metadata

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.