MetadataObject.Delete method

Deletes the MetadataObject object.

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overridable Sub Delete
'Usage
Dim instance As MetadataObject

instance.Delete()
public virtual void Delete()

Remarks

This method throws the following exceptions: AccessDeniedException, BdcException, MetadataException, PackageFormatException, InvalidOperationException, ArgumentNullException, ArgumentOufOfRangeException, ArgumentException, and Exception.

See also

Reference

MetadataObject class

MetadataObject members

Microsoft.SharePoint.BusinessData.Administration namespace