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