共用方式為


IExecutionContext 介面

Represents a SQL Server user-defined module execution context.

命名空間:  Microsoft.SqlServer.Management.SqlParser.Metadata
組件:  Microsoft.SqlServer.Management.SqlParser (在 Microsoft.SqlServer.Management.SqlParser.dll 中)

語法

'宣告
Public Interface IExecutionContext _
    Inherits IMetadataObject
'用途
Dim instance As IExecutionContext
public interface IExecutionContext : IMetadataObject
public interface class IExecutionContext : IMetadataObject
type IExecutionContext =  
    interface
        interface IMetadataObject
    end
public interface IExecutionContext extends IMetadataObject

IExecutionContext 型別公開下列成員。

屬性

  名稱 說明
公用屬性 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. (繼承自 IMetadataObject。)
公用屬性 User Gets the user that can be used in an EXECUTE AS clause.

上層

方法

  名稱 說明
公用方法 Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (繼承自 IMetadataObject。)

上層