Partilhar via


SmoApplication.ObjectAlteredEventHandler Delegate

The SmoApplication.ObjectAlteredEventHandler class represents the event handler that is used to handle events that occur when an object is altered.

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

Syntax

'Declaration
Public Delegate Sub ObjectAlteredEventHandler ( _
    sender As Object, _
    e As ObjectAlteredEventArgs _
)
public delegate void ObjectAlteredEventHandler (
    Object sender,
    ObjectAlteredEventArgs e
)
public delegate void ObjectAlteredEventHandler (
    Object^ sender, 
    ObjectAlteredEventArgs^ e
)
/** @delegate */
public delegate void ObjectAlteredEventHandler (
    Object sender, 
    ObjectAlteredEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

  • sender
    An Object value that specifies the source of the event.

Remarks

Updated text:

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

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

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Handling SMO Events

Change History

Release

History

New content:
  • Changed the type in the description of parameter e.