Share via


FileBackedMetadataCatalog.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 FileBackedMetadataCatalog
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 FileBackedMetadataCatalog can only be used with object instances obtained from the same instance of FileBackedMetadataCatalog. Using incompatible object instances with each other causes data corruption and other unexpected behavior.

See also

Reference

FileBackedMetadataCatalog class

FileBackedMetadataCatalog members

Microsoft.SharePoint.BusinessData.MetadataModel namespace