Share via


BrokerService.Events Property

Gets the events associated with the Service Broker service.

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

Syntax

'Declaration
Public ReadOnly Property Events As BrokerServiceEvents
    Get
'Usage
Dim instance As BrokerService
Dim value As BrokerServiceEvents

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Broker.BrokerServiceEvents
A BrokerServiceEvents object that represents the Service Broker service events.