Freigeben über


IExecutionContext-Schnittstelle

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)

Syntax

'Declaration
Public Interface IExecutionContext _
    Inherits IMetadataObject
'Usage
Dim instance As IExecutionContext
public interface IExecutionContext : IMetadataObject
public interface class IExecutionContext : IMetadataObject
type IExecutionContext =  
    interface
        interface IMetadataObject
    end
public interface IExecutionContext extends IMetadataObject

Der IExecutionContext-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft ContextType Gets an ExecutionContextType value that indicates the execution context for the module.
Öffentliche Eigenschaft Login Gets the SQL Server login that can be used in an EXECUTE AS clause.
Öffentliche Eigenschaft Name Gets the name of the metadata object. (Geerbt von IMetadataObject.)
Öffentliche Eigenschaft User Gets the user that can be used in an EXECUTE AS clause.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (Geerbt von IMetadataObject.)

Zum Anfang