Share via


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

Return Value

Type: Microsoft.SharePoint.BusinessData.Administration.MetadataObject
The metadata object that caused the error.

See Also

Reference

MethodError Class

MethodError Members

Microsoft.SharePoint.BusinessData.Administration Namespace