ExecutionContext Enumeration
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 (in microsoft.sqlserver.sqlenum.dll)
语法
声明
Public Enumeration ExecutionContext
public enum ExecutionContext
public enum class ExecutionContext
public enum ExecutionContext
public enum ExecutionContext
Members
Member name | Description |
---|---|
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.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。