共用方式為


Events 屬性

取得與觸發程序相關聯的事件。

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

語法

'宣告
Public ReadOnly Property Events As TriggerEvents
    Get
'用途
Dim instance As Trigger
Dim value As TriggerEvents

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

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .TriggerEvents
代表觸發程序事件的 TriggerEvents 物件。