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.