Share via


ServiceQueue.ActivationExecutionContext Property

Gets or sets the execution context for the activated procedure.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ActivationExecutionContext As ActivationExecutionContext 
    Get 
    Set
'Usage
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)

Property Value

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

Examples

Readme_ServiceBrokerConfiguration

See Also

Reference

ServiceQueue Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

DEL - Development (Service Broker)

Managing Service Broker

Service Broker

CREATE QUEUE (Transact-SQL)