Partekatu honen bidez:


Propiedad OneToManyRelationshipMetadata.ReferencedAttribute

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

Get or set the name of primary attribute for the referenced entity.

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

Sintaxis

'Declaración
<DataMemberAttribute> _
Public Property ReferencedAttribute As String
[DataMemberAttribute] 
public string ReferencedAttribute { get; set; }

Valor de propiedad

Type: Cadena
The name of primary attribute for the referenced entity..

Comentarios

For example, if Account is the referenced entity the referenced attribute would be accountid.

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 OneToManyRelationshipMetadata
Miembros de OneToManyRelationshipMetadata
Espacio de nombres de Microsoft.Xrm.Sdk.Metadata

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