Association members

Represents a relationship between two or more related external content types defined in one or multiple external systems.

The Association type exposes the following members.

Properties

  Name Description
Public property AssociationGroup Gets the association group for this association.
Public property DefaultDisplayName Gets or sets the default display name. (Inherited from MetadataObject.)
Public property DestinationEntityReference Gets a reference to the destination external content type.
Public property HasReturnTypeDescriptor Gets a Boolean value that indicates whether the current MethodInstance object has a return TypeDescriptor. (Inherited from MethodInstance.)
Public property Id Gets the identifier of the MetadataObject object. (Inherited from MetadataObject.)
Public property IsCached Indicates whether the object is cached. (Inherited from MetadataObject.)
Public property IsDefault Gets or sets a value specifying whether this is the default method instance. (Inherited from MethodInstance.)
Public property LocalizedDisplayName Gets or sets the localized display name. (Inherited from MetadataObject.)
Public property LocalizedDisplayNames Gets the collection of localized display names. (Inherited from MetadataObject.)
Public property Method Gets a Method object that represents the current MethodInstance object. (Inherited from MethodInstance.)
Public property MethodId Gets the method identifier. (Inherited from MethodInstance.)
Public property MethodInstanceType Gets or sets a MethodInstanceType indicating the type of the current MethodInstance object. (Inherited from MethodInstance.)
Public property Name Gets or sets the name of the object. (Inherited from MetadataObject.)
Public property Properties Gets the property collection of the object. (Inherited from MetadataObject.)
Public property ReturnTypeDescriptor Gets or sets the association type descriptor. (Overrides MethodInstance.ReturnTypeDescriptor.)
Public property SourceEntityReferences Gets the references to the source external content types.

Top

Methods

  Name Description
Public method ContainsLocalizedDisplayName Indicates whether the object contains a localized display name. (Inherited from MetadataObject.)
Public method CopyAclAcrossChildren Copies the list of access control entries (ACEs) associated with the metadata object to all of its child metadata objects. Each individually securable metadata object inherits from this class and provides its own implementation of this method. (Inherited from IndividuallySecurableMetadataObject.)
Public method CopyAclAcrossChildrenForSetting Copies the list of access control entries (ACEs) associated with the metadata object to all of its child metadata objects for the specified setting. Each individually securable metadata object inherits from this class and provides its own implementation of this method. (Inherited from IndividuallySecurableMetadataObject.)
Public method CopyAclToSetting Copies the access control list (ACL) from the default setting to the target setting. (Inherited from IndividuallySecurableMetadataObject.)
Public method Delete Deletes the MetadataObject object. (Inherited from MetadataObject.)
Public method GetAccessControlList() Gets the access control list for this metadata object. (Inherited from AccessControlledMetadataObject.)
Public method GetAccessControlList(String) Gets a list of the individually securable child metadata objects. (Inherited from IndividuallySecurableMetadataObject.)
Public method GetAccessControlList(String, Boolean) Gets a list of the individually securable child metadata objects. (Inherited from IndividuallySecurableMetadataObject.)
Public methodStatic member GetById Gets the association by using the association identifier and the metadata store.
Public methodStatic member MergeXml Reads the Association definition from the specified resource XML for the specified method, and then merges its properties, localized names, and access control entries with the existing Association in the metadata store.
Public method Read Reads this Association object from the database and refreshes its contents. (Overrides MethodInstance.Read().)
Protected method ReadCommon This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from MetadataObject.)
Public methodStatic member ReadXml Reads the Association definition from the specified metadata XML for the specified method.
Public method SetAccessControlList(IAccessControlList) Sets the access control list (ACL) for an individually securable metadata object. (Inherited from IndividuallySecurableMetadataObject.)
Public method SetAccessControlList(IAccessControlList, String) Sets the access control list (ACL) for an individually securable metadata object for the specified setting. (Inherited from IndividuallySecurableMetadataObject.)
Public method ToString (Inherited from Object.)
Public method Update Updates the object. (Inherited from MetadataObject.)
Public method WriteSlicedXml Writes a sliced XML fragment in the metadata store. (Inherited from MetadataObject.)
Public method WriteXml(PackageContents) Returns the XML representation of the MetadataObject. (Inherited from MetadataObject.)
Public method WriteXml(PackageContents, String) Returns the XML representation of the MetadataObject, which is generated using the properties, localized names, and access control entries from the specified setting. (Inherited from MetadataObject.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate property IAssociationReference.Entity Gets a reference to the external content type that contains the association.

Top

See also

Reference

Association class

Microsoft.SharePoint.BusinessData.Administration namespace