Model.GetById Method
Gets the Model object given its identifier (ID).
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 Model
'Usage
Dim id As UInteger
Dim metadataCatalog As AdministrationMetadataCatalog
Dim returnValue As Model
returnValue = Model.GetById(id, metadataCatalog)
public static Model GetById(
uint id,
AdministrationMetadataCatalog metadataCatalog
)
Parameters
id
Type: System.UInt32The Model ID.
metadataCatalog
Type: Microsoft.SharePoint.BusinessData.Administration.AdministrationMetadataCatalogThe Metadata Store.
Return Value
Type: Microsoft.SharePoint.BusinessData.Administration.Model