共用方式為


View.Events 屬性

Gets the events associated with the view.

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

語法

'宣告
Public ReadOnly Property Events As ViewEvents 
    Get
'用途
Dim instance As View 
Dim value As ViewEvents 

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.ViewEvents
A ViewEvents object that represents the view events.

範例

建立、改變和移除檢視

請參閱

參考

View 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

設計和實作檢視

CREATE VIEW (Transact-SQL)