Partilhar via


Entity.DefaultAction Property

Gets or sets the default action for this external content type.

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

Syntax

'Declaration
Public Property DefaultAction As Action
    Get
    Set
'Usage
Dim instance As Entity
Dim value As Action

value = instance.DefaultAction

instance.DefaultAction = value
public Action DefaultAction { get; set; }

Property Value

Type: Microsoft.SharePoint.BusinessData.Administration.Action
The default action for this external content type.

Exceptions

Exception Condition
ArgumentNullException

When using the Set accessor with a a null reference (Nothing in Visual Basic) argument.

MetadataObjectNotFoundException

When using the Get accessor and the metadata object is not found.

InvalidMetadataPropertyException

When using the Get accessor and the metadata is not valid.

See Also

Reference

Entity Class

Entity Members

Microsoft.SharePoint.BusinessData.Administration Namespace