IDataClass.GetDefaultAction Method
Returns the default action for the DataClass.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function GetDefaultAction As IAction
'Usage
Dim instance As IDataClass
Dim returnValue As IAction
returnValue = instance.GetDefaultAction()
IAction GetDefaultAction()
Return Value
Type: Microsoft.BusinessData.MetadataModel.IAction
The default action for the DataClass.
Exceptions
Exception | Condition |
---|---|
InvalidMetadataPropertyException | The metadata property is invalid. |
MetadataObjectNotFoundException | The default action is not part of the action set of this entity. |
MissingMetadataPropertyException | The metadata property is missing. |