Share via


FileBackedMetadataCatalog.CreateExecutionContext method

Creates an execution context.

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

Syntax

'Declaration
Public Function CreateExecutionContext As IExecutionContext
'Usage
Dim instance As FileBackedMetadataCatalog
Dim returnValue As IExecutionContext

returnValue = instance.CreateExecutionContext()
public IExecutionContext CreateExecutionContext()

Return value

Type: Microsoft.BusinessData.Runtime.IExecutionContext
A reference to the execution context.

Implements

IMetadataCatalog.CreateExecutionContext()

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