Partager via


Propriété RelationshipMetadataBase.RelationshipType

S'applique à: CRM 2015 on-prem, CRM Online

Gets the type of relationship.

Espace de noms: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)

Syntaxe

'Déclaration
<DataMemberAttribute(Order:=60)> _
Public Property RelationshipType As RelationshipType
[DataMemberAttribute(Order=60)] 
public RelationshipType RelationshipType { get; }

Valeur de propriété

Type:RelationshipType.

Remarques

This attribute provides a way for a RelationshipQueryExpression to differentiate between ManyToMany relationships and OneToMany relationships.

This value will be set by the system. You should not set this value when you create an entity relationship.

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Voir aussi

Référence

Classe RelationshipMetadataBase
Membres RelationshipMetadataBase
Espace de noms Microsoft.Xrm.Sdk.Metadata

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