Share via


ActionParameter.GetById Method

Gets the ActionParameter by using the action identifier.

Namespace:  Microsoft.SharePoint.BusinessData.Administration.Client
Assembly:  Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.dll)

Syntax

'Declaration
Public Shared Function GetById ( _
    id As UInteger, _
    metadataCatalog As AdministrationMetadataCatalog _
) As ActionParameter
'Usage
Dim id As UInteger
Dim metadataCatalog As AdministrationMetadataCatalog
Dim returnValue As ActionParameter

returnValue = ActionParameter.GetById(id, metadataCatalog)
public static ActionParameter GetById(
    uint id,
    AdministrationMetadataCatalog metadataCatalog
)

Parameters

Return Value

Type: Microsoft.SharePoint.BusinessData.Administration.Client.ActionParameter

The ActionParameter that corresponds to the specified identifier.

Exceptions

Exception Condition
ArgumentNullException

The metadataCatalog parameter is a null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

The id parameter is zero.

MetadataObjectNotFoundException

The ActionParameter specified by the id parameter does not exist in the metadata store.

See Also

Reference

ActionParameter Class

ActionParameter Members

Microsoft.SharePoint.BusinessData.Administration.Client Namespace