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
metadataObjectId
Type: System.UInt32The ID of the entity.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity
An Entity object.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace