Partilhar via


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

Return Value

Type: Microsoft.SharePoint.BusinessData.Administration.Entity
The external content type.

See Also

Reference

Entity Class

Entity Members

Microsoft.SharePoint.BusinessData.Administration Namespace