Compartilhar 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