AssociationReference.TryGetAssociation method
Attempts to get the Association object.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Function TryGetAssociation As Association
'Usage
Dim instance As AssociationReference
Dim returnValue As Association
returnValue = instance.TryGetAssociation()
public virtual Association TryGetAssociation()
Return value
Type: Microsoft.SharePoint.BusinessData.Administration.Association
The Association object, if the external content type of the Association is available in the metadata; otherwise, it returns a null reference (Nothing in Visual Basic).