Export (0) Print
Expand All

DatabaseEventArgs Constructor

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

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

public DatabaseEventArgs(
	Urn urn,
	Object obj,
	string name,
	DatabaseEventType databaseEventType
)

Parameters

urn
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
A Urn object value that specifies the URN value.
obj
Type: Object
An Object system object value that specifies the object that caused the event to be raised.
name
Type: String
A String value that specifies the name of the event.
databaseEventType
Type: Microsoft.SqlServer.Management.Smo.DatabaseEventType
DatabaseEventType an enumeration containing database event types

Community Additions

ADD
Show:
© 2014 Microsoft