Share via


View.Events Property

Gets the events associated with the view.

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

Syntax

'Declaration
Public ReadOnly Property Events As ViewEvents 
    Get
'Usage
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

Property Value

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

Examples

Creating, Altering, and Removing Views

See Also

Reference

View Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Designing and Implementing Views

CREATE VIEW (Transact-SQL)