Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DatabaseEventArgs Class
Collapse the table of content
Expand the table of content

DatabaseEventArgs Class

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

Object
  EventArgs
    Microsoft.SqlServer.Management.Smo.SmoEventArgs
      Microsoft.SqlServer.Management.Smo.DatabaseEventArgs

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

public class DatabaseEventArgs : SmoEventArgs

The DatabaseEventArgs type exposes the following members.

  NameDescription
Public methodDatabaseEventArgsThe DatabaseEventArgs object represents the arguments passed by the event raised by the database.
Top

  NameDescription
Public propertyDatabaseEventTypeGets the type of database event.
Public propertyNameGets the name of the database.
Public propertySmoObjectGets the object that caused the database event.
Public propertyUrnGets the Uniform Resource Name (URN) address of SMO event. (Inherited from SmoEventArgs.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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.

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

Community Additions

ADD
Show:
© 2015 Microsoft