Dela via


ServiceContract.Events Property

Gets the events associated with the service contract.

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

Syntax

'Declaration
Public ReadOnly Property Events As ServiceContractEvents
    Get
'Usage
Dim instance As ServiceContract
Dim value As ServiceContractEvents

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Broker.ServiceContractEvents
A ServiceContractEvents object that represents the service contract events.