DatabaseBackedMetadataCatalog.CurrentExecutionContext property
Gets the current execution context.
Namespace: Microsoft.SharePoint.BusinessData.MetadataModel
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property CurrentExecutionContext As IExecutionContext
Get
'Usage
Dim instance As DatabaseBackedMetadataCatalog
Dim value As IExecutionContext
value = instance.CurrentExecutionContext
public IExecutionContext CurrentExecutionContext { get; }
Property value
Type: Microsoft.BusinessData.Runtime.IExecutionContext
The execution context.
Implements
IMetadataCatalog.CurrentExecutionContext
Remarks
The execution context can be used to track and modify the behavior of operations against the external system. It also allows direct communication between a custom connector and the application.
Object instances obtained from an instance of DatabaseBackedMetadataCatalog for a BdcServiceApplicationProxy can only be used with object instances obtained from instances of DatabaseBackedMetadataCatalog for the same BdcServiceApplicationProxy. Using incompatible object instances with each other causes data corruption and other unexpected behavior.
See also
Reference
DatabaseBackedMetadataCatalog class