共用方式為


Events 屬性

Gets the events associated with the service contract.

命名空間:  Microsoft.SqlServer.Management.Smo.Broker
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property Events As ServiceContractEvents
    Get
'用途
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

屬性值

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