Export (0) Print
Expand All

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)

type DatabaseEventArgs =  
    class 
        inherit SmoEventArgs 
    end

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft