DatabaseEventArgs DatabaseEventArgs DatabaseEventArgs Class

Definition

The DatabaseEventArgs object represents the arguments passed by the event raised by the database.

public ref class DatabaseEventArgs : Microsoft::SqlServer::Management::Smo::SmoEventArgs
public class DatabaseEventArgs : Microsoft.SqlServer.Management.Smo.SmoEventArgs
Public Class DatabaseEventArgs
Inherits SmoEventArgs
Inheritance
DatabaseEventArgsDatabaseEventArgsDatabaseEventArgs

Examples

Handling SMO Events

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Constructors

DatabaseEventArgs(Urn, Object, String, DatabaseEventType) DatabaseEventArgs(Urn, Object, String, DatabaseEventType) DatabaseEventArgs(Urn, Object, String, DatabaseEventType)

The DatabaseEventArgs object represents the arguments passed by the event raised by the database.

Properties

DatabaseEventType DatabaseEventType DatabaseEventType

Gets the type of database event.

Name Name Name

Gets the name of the database.

SmoObject SmoObject SmoObject

Gets the object that caused the database event.

Urn Urn Urn

Gets the Uniform Resource Name (URN) address of SMO event.

(Inherited from SmoEventArgs)

Applies to