Megosztás a következőn keresztül:


ServiceRoute.Events Property

Gets the events associated with the service route.

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

Syntax

'Declaration
Public ReadOnly Property Events As ServiceRouteEvents
    Get
'Usage
Dim instance As ServiceRoute
Dim value As ServiceRouteEvents

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Broker.ServiceRouteEvents
A ServiceRouteEvents object that represents the service route events.