Share via


Entity.GetById Method

NOTE: This API is now obsolete.

Gets an entity given its ID.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Public Shared Function GetById ( _
    metadataObjectId As UInteger _
) As Entity
'Usage
Dim metadataObjectId As UInteger
Dim returnValue As Entity

returnValue = Entity.GetById(metadataObjectId)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
public static Entity GetById(
    uint metadataObjectId
)

Parameters

Return Value

Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity
An Entity object.

See Also

Reference

Entity Class

Entity Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace