AssociationReference.GetAssociation method
Gets the Association object.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Function GetAssociation As Association
'Usage
Dim instance As AssociationReference
Dim returnValue As Association
returnValue = instance.GetAssociation()
public virtual Association GetAssociation()
Return value
Type: Microsoft.SharePoint.BusinessData.Administration.Association
The Association object.
Exceptions
Exception | Condition |
---|---|
MetadataObjectNotFoundException | The external content type is available but the reference association does not exist. |