Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

ServerEventHandler Delegate

 

The ServerEventHandler class represents the event handler that is used to handle server errors.

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

public delegate void ServerEventHandler(
	object sender,
	ServerEventArgs e
)

Parameters

sender
Type: System.Object

An Object value that specifies the source of the event.

e
Type: Microsoft.SqlServer.Management.Smo.ServerEventArgs

A Serverhttp://msdn.microsoft.com/library/cpref/html/frlrfsystemeventargsclasstopic.asp EventArgs object that contains the event data.

Legacy Code Example

Return to top

Community Additions

Show:
© 2015 Microsoft