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

Return Value

Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Method
A Method object.

See Also

Reference

Method Class

Method Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace