Action.GetById method
Gets the Action by using the Action 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 Action
'Usage
Dim id As UInteger
Dim metadataCatalog As AdministrationMetadataCatalog
Dim returnValue As Action
returnValue = Action.GetById(id, metadataCatalog)
public static Action GetById(
uint id,
AdministrationMetadataCatalog metadataCatalog
)
Parameters
id
Type: System.UInt32The Action identifier.
metadataCatalog
Type: Microsoft.SharePoint.BusinessData.Administration.AdministrationMetadataCatalogThe metadata store.
Return value
Type: Microsoft.SharePoint.BusinessData.Administration.Action
The Action that corresponds to the specified identifier.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The metadataCatalog parameter is a null reference (Nothing in Visual Basic). |