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