Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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: 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.