ExecutionContext 枚举

The ExecutionContext enumeration is a list of constant values that specify the different types of context (or which role is assumed) when executing a process represented by an object.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.SqlEnum(在 Microsoft.SqlServer.SqlEnum.dll 中)

语法

声明
Public Enumeration ExecutionContext
用法
Dim instance As ExecutionContext
public enum ExecutionContext
public enum class ExecutionContext
type ExecutionContext
public enum ExecutionContext

成员

成员名称 说明
Caller The process is executed in the context of the process that called the referenced process.
ExecuteAsUser The process is executed as a specific user.
Owner The process is executed as the owner of the referenced object.
Self The process is executed in the context of the referenced object.

注释

The sec enumeration class is served by the ExecutionContext property, the ExecutionContext property, and the ExecutionContext property.

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间