DatabaseEventArgs Constructor
Collapse the table of content
Expand the table of content

DatabaseEventArgs Constructor (Urn, Object, String, DatabaseEventType)

 

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 T:Microsoft.SqlServer.Management.Smo.Urn object value that specifies the URN value.

obj
Type: System.Object

An Object system object value that specifies the object that caused the event to be raised.

name
Type: System.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

Return to top
Show:
© 2016 Microsoft