ActionParameter.GetById Method
Gets the ActionParameter using the ActionParameter identifier.
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 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
id
Type: System.UInt32The ActionParameter identifier.
metadataCatalog
Type: Microsoft.SharePoint.BusinessData.Administration.AdministrationMetadataCatalogThe metadata store.
Return Value
Type: Microsoft.SharePoint.BusinessData.Administration.ActionParameter
The ActionParameter that corresponds to the specified identifier within the metadata store.
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. |