Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies a method of an external content type.
Namespace: http://schemas.microsoft.com/windows/2007/BusinessDataCatalog
Schema: BDCMetadata
Definition
<Method IsStatic = "Boolean" LobName = "String" Name = "String" DefaultDisplayName = "String" IsCached = "Boolean"> </Method>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description |
|---|---|
| IsStatic | Optional. Specifies whether the execution of this method requires an external item (EntityInstance) to serve as a context for execution. If set to true, the method represents a static method and does not require a specific EntityInstance to provide context for execution. If set to false, the method represents an instance method and requires an EntityInstance to provide the context for execution. Default value: true Attribute type: Boolean |
| LobName | Optional. The name of the operation defined in the external system that is represented by this method. Attribute type: String |
| Name | Required. The name of this method. Attribute type: String |
| DefaultDisplayName | Optional. The default display name of the method. Attribute type: String |
| IsCached | Optional. Specifies whether this method is used frequently. If set to true, Business Data Connectivity (BDC) service caches this method in memory. Default value: true Attribute type: Boolean |
Child elements
| Element | Description |
|---|---|
| LocalizedDisplayNames Element in MetadataObject (BDCMetadata Schema) | The localized display names of the method. |
| Properties Element in MetadataObject (BDCMetadata Schema) | The properties of the method. |
| AccessControlList Element (BDCMetadata Schema) | The access control list (ACL) of this method. |
| FilterDescriptors Element in Method (BDCMetadata Schema) | The filter descriptors of the method. |
| Parameters Element in Method (BDCMetadata Schema) | The parameters of the method. A method cannot have more than one return parameter. |
| MethodInstances Element in Method (BDCMetadata Schema) | The method instances of the method. |
Parent elements
| Element | Description |
|---|---|
| Methods Element in Entity (BDCMetadata Schema) | A list of methods of an external content type. |