MethodInstance.GetById Method
Returns the method instance with the specified identifier from the specified 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 MethodInstance
'Usage
Dim id As UInteger
Dim metadataCatalog As AdministrationMetadataCatalog
Dim returnValue As MethodInstance
returnValue = MethodInstance.GetById(id, metadataCatalog)
public static MethodInstance GetById(
uint id,
AdministrationMetadataCatalog metadataCatalog
)
Parameters
id
Type: System.UInt32The identifier of the method instance.
metadataCatalog
Type: Microsoft.SharePoint.BusinessData.Administration.AdministrationMetadataCatalogThe metadata store to get the method instance from.
Return Value
Type: Microsoft.SharePoint.BusinessData.Administration.MethodInstance
The method instance.