ExceededMetadataObjectLimitException class

Represents the exception thrown when the number of metadata objects of a particular type that is loaded into the cache exceeds a predefined limit, or if the number of metadata objects related to another metadata object exceeds a predefined limit.


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

[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class ExceededMetadataObjectLimitException : MetadataException

The following are examples of predefined limits that, if exceeded, will cause an exception to be thrown:

  • A single external system object can have only 100 data classes.

  • A single metadata store instance in an application domain can load no more than 100 external system objects.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.