共用方式為


Action Class

Represents an Action in the Business Data Connectivity (BDC) service. A type of MetadataObject that represents a URL that triggers the display or manipulation of data related to an Entity or an entity instance. Actions are contained by an entity. Actions contain ActionParameters.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.BusinessData.Administration.MetadataObject
    Microsoft.SharePoint.BusinessData.Administration.AccessControlledMetadataObject
      Microsoft.SharePoint.BusinessData.Administration.Action

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class Action _
    Inherits AccessControlledMetadataObject
'Usage
Dim instance As Action
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class Action : AccessControlledMetadataObject

Remarks

External content types can have actions. You can use BDC actions to build applications with write-back scenarios. For example, you can create a Customer Profile view that enables a user to update profile information directly in an external system such as SAP. Actions are implemented as links, so you can also use actions to perform simple tasks such as to send an e-mail message or open a customer’s home page.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Action Members

Microsoft.SharePoint.BusinessData.Administration Namespace