AssociationGroupError.GetObjectInError Method
Gets the AssociationGroup object that is in error.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Function GetObjectInError ( _
catalog As AdministrationMetadataCatalog _
) As MetadataObject
'Usage
Dim instance As AssociationGroupError
Dim catalog As AdministrationMetadataCatalog
Dim returnValue As MetadataObject
returnValue = instance.GetObjectInError(catalog)
public override MetadataObject GetObjectInError(
AdministrationMetadataCatalog catalog
)
Parameters
catalog
Type: Microsoft.SharePoint.BusinessData.Administration.AdministrationMetadataCatalogThe BDC metadata store.
Return Value
Type: Microsoft.SharePoint.BusinessData.Administration.MetadataObject
The AssociationGroup object that is in error.
Exceptions
Exception | Condition |
---|---|
MetadataObjectNotFoundException | The external content type associated with this error does not have an association group with the name specified by the containing association group name. |