IExecutionContext Interface
SQL Server 2012
Represents a SQL Server user-defined module execution context.
Namespace: Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
The IExecutionContext type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ContextType | Gets an ExecutionContextType value that indicates the execution context for the module. |
![]() | Login | Gets the SQL Server login that can be used in an EXECUTE AS clause. |
![]() | Name | Gets the name of the metadata object. (Inherited from IMetadataObject.) |
![]() | User | Gets the user that can be used in an EXECUTE AS clause. |
| Name | Description | |
|---|---|---|
![]() | Accept<T> | Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.) |

