共用方式為


ActivationExecutionContext Enumeration

The ActivationExecutionContext enumeration contains values that are used to specify the security context used by a procedure activated by a service queue.

命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

語法

'宣告
Public Enumeration ActivationExecutionContext
public enum ActivationExecutionContext
public enum class ActivationExecutionContext
public enum ActivationExecutionContext
public enum ActivationExecutionContext

Members

Member name Description
ExecuteAsUser The activated procedure is executed with the security context of a specified user.
Owner The activated procedure is executed with the security context of the ServiceQueue object owner.
Self The activated procedure is executed with the security context of the ServiceQueue object.

備註

The ActivationExecutionContext enumeration class is served by the ServiceQueue class.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo Namespace