ViewEvents.ServerEvent Event
Specifies the server event handler for view events.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Event ServerEvent As ServerEventHandler
public event ServerEventHandler ServerEvent
public:
event ServerEventHandler^ ServerEvent {
void add (ServerEventHandler^ value);
void remove (ServerEventHandler^ value);
}
/** @event */
public void add_ServerEvent (ServerEventHandler value)
/** @event */
public void remove_ServerEvent (ServerEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
Example
How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
ViewEvents Class
ViewEvents Members
Microsoft.SqlServer.Management.Smo Namespace