MethodError.GetObjectInError method
Gets the metadata object that caused the 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 MethodError
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 name of the administration metadata store.
Return value
Type: Microsoft.SharePoint.BusinessData.Administration.MetadataObject
The metadata object that caused the error.