Entity.GetById Method
Gets the external content type by using its identifier (ID) and the Metadata Store.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetById ( _
id As UInteger, _
metadataCatalog As AdministrationMetadataCatalog _
) As Entity
'Usage
Dim id As UInteger
Dim metadataCatalog As AdministrationMetadataCatalog
Dim returnValue As Entity
returnValue = Entity.GetById(id, metadataCatalog)
public static Entity GetById(
uint id,
AdministrationMetadataCatalog metadataCatalog
)
Parameters
id
Type: System.UInt32The ID.
metadataCatalog
Type: Microsoft.SharePoint.BusinessData.Administration.AdministrationMetadataCatalogThe Metadata Store.
Return Value
Type: Microsoft.SharePoint.BusinessData.Administration.Entity
The external content type.