AssociationGroupAssociationReference.GetAssociation method
Gets the association.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Function GetAssociation As Association
'Usage
Dim instance As AssociationGroupAssociationReference
Dim returnValue As Association
returnValue = instance.GetAssociation()
public override Association GetAssociation()
Return value
Type: Microsoft.SharePoint.BusinessData.Administration.Association
The Association object.
Exceptions
Exception | Condition |
---|---|
MetadataObjectNotFoundException | The association is not found. |
ObjectDisposedException | The AssociationGroupAssociationReference is disposed. |
See also
Reference
AssociationGroupAssociationReference class