MetadataObject.Delete Method
Deletes the MetadataObject.
Namespace: Microsoft.SharePoint.BusinessData.Administration.Client
Assembly: Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.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
Microsoft.SharePoint.BusinessData.Administration.Client Namespace