共用方式為


ServiceQueue.ActivationExecutionContext 屬性

Gets or sets the execution context for the activated procedure.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ActivationExecutionContext As ActivationExecutionContext 
    Get 
    Set
'用途
Dim instance As ServiceQueue 
Dim value As ActivationExecutionContext 

value = instance.ActivationExecutionContext

instance.ActivationExecutionContext = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public ActivationExecutionContext ActivationExecutionContext { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property ActivationExecutionContext ActivationExecutionContext {
    ActivationExecutionContext get ();
    void set (ActivationExecutionContext value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ActivationExecutionContext : ActivationExecutionContext with get, set
function get ActivationExecutionContext () : ActivationExecutionContext 
function set ActivationExecutionContext (value : ActivationExecutionContext)

屬性值

型別:Microsoft.SqlServer.Management.Smo.ActivationExecutionContext
An ActivationExecutionContext object value that specifies the execution context for the activated procedure.

範例

Readme_ServiceBrokerConfiguration

請參閱

參考

ServiceQueue 類別

Microsoft.SqlServer.Management.Smo.Broker 命名空間

其他資源

開發 (Service Broker)

管理 Service Broker

概觀 (Service Broker)

CREATE QUEUE (Transact-SQL)