Share via


ServiceQueue.Events Property

Gets the events associated with the service queue.

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

Syntax

'Declaration
Public ReadOnly Property Events As ServiceQueueEvents 
    Get
'Usage
Dim instance As ServiceQueue 
Dim value As ServiceQueueEvents 

value = instance.Events
public ServiceQueueEvents Events { get; }
public:
property ServiceQueueEvents^ Events {
    ServiceQueueEvents^ get ();
}
member Events : ServiceQueueEvents
function get Events () : ServiceQueueEvents

Property Value

Type: Microsoft.SqlServer.Management.Smo.Broker.ServiceQueueEvents
A ServiceQueueEvents object that represents the service queue events.

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)