Udostępnij przez


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)

Syntax

'Deklaracja
Public Sub New ( _
    urn As Urn, _
    obj As Object, _
    name As String, _
    databaseEventType As DatabaseEventType _
)
public DatabaseEventArgs (
    Urn urn,
    Object obj,
    string name,
    DatabaseEventType databaseEventType
)
public:
DatabaseEventArgs (
    Urn^ urn, 
    Object^ obj, 
    String^ name, 
    DatabaseEventType databaseEventType
)
public DatabaseEventArgs (
    Urn urn, 
    Object obj, 
    String name, 
    DatabaseEventType databaseEventType
)
public function DatabaseEventArgs (
    urn : Urn, 
    obj : Object, 
    name : String, 
    databaseEventType : DatabaseEventType
)

Parameters

  • urn
    A Urn object value that specifies the URN value.
  • obj
    An Object system object value that specifies the object that caused the event to be raised.
  • name
    A String value that specifies the name of the event.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.