DatabaseEventArgs Class
The DatabaseEventArgs object represents the arguments passed by the event raised by the database.
Inheritance Hierarchy
System.Object
System.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)
Syntax
'Declaration
Public Class DatabaseEventArgs _
Inherits SmoEventArgs
'Usage
Dim instance As DatabaseEventArgs
public class DatabaseEventArgs : SmoEventArgs
public ref class DatabaseEventArgs : public SmoEventArgs
type DatabaseEventArgs =
class
inherit SmoEventArgs
end
public class DatabaseEventArgs extends SmoEventArgs
The DatabaseEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DatabaseEventArgs | The DatabaseEventArgs object represents the arguments passed by the event raised by the database. |
Top
Properties
Name | Description | |
---|---|---|
DatabaseEventType | Gets the type of database event. | |
Name | Gets the name of the database. | |
SmoObject | Gets the object that caused the database event. | |
Urn | Gets the Uniform Resource Name (URN) address of SMO event. (Inherited from SmoEventArgs.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
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.
Examples
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.