Entity.Validate Method (IList<Entity>, AdministrationMetadataCatalog)
Validates the external content type by using a list of external content types and the Metadata Store.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function Validate ( _
entities As IList(Of Entity), _
catalog As AdministrationMetadataCatalog _
) As ActivationError()
'Usage
Dim entities As IList(Of Entity)
Dim catalog As AdministrationMetadataCatalog
Dim returnValue As ActivationError()
returnValue = Entity.Validate(entities, _
catalog)
public static ActivationError[] Validate(
IList<Entity> entities,
AdministrationMetadataCatalog catalog
)
Parameters
entities
Type: System.Collections.Generic.IList<Entity>The list of external content types.
catalog
Type: Microsoft.SharePoint.BusinessData.Administration.AdministrationMetadataCatalogThe Metadata Store.
Return Value
Type: []
The activation errors that were encountered during validation.