Share via


IExecutionContextFactory.CreateExecuteAsSelf Method

Creates an IExecutionContext object that represents the EXECUTE AS SELF execution context.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Function CreateExecuteAsSelf As IExecutionContext
'Usage
Dim instance As IExecutionContextFactory 
Dim returnValue As IExecutionContext 

returnValue = instance.CreateExecuteAsSelf()
IExecutionContext CreateExecuteAsSelf()
IExecutionContext^ CreateExecuteAsSelf()
abstract CreateExecuteAsSelf : unit -> IExecutionContext
function CreateExecuteAsSelf() : IExecutionContext

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IExecutionContext
An IExecutionContext object that represents the EXECUTE AS SELF execution context.

See Also

Reference

IExecutionContextFactory Interface

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace