MethodInstance.GetById Method
NOTE: This API is now obsolete.
Gets a MethodInstance object 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 ( _
methodInstanceId As UInteger _
) As MethodInstance
'Usage
Dim methodInstanceId As UInteger
Dim returnValue As MethodInstance
returnValue = MethodInstance.GetById(methodInstanceId)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public static MethodInstance GetById(
uint methodInstanceId
)
Parameters
methodInstanceId
Type: System.UInt32The ID of the MethodInstance object.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MethodInstance
A MethodInstance object.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace