다음을 통해 공유


DatabaseEventArgs 생성자

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub New ( _
    urn As Urn, _
    obj As Object, _
    name As String, _
    databaseEventType As DatabaseEventType _
)
‘사용 방법
Dim urn As Urn 
Dim obj As Object 
Dim name As String 
Dim databaseEventType As DatabaseEventType 

Dim instance As New DatabaseEventArgs(urn, obj, _
    name, databaseEventType)
public DatabaseEventArgs(
    Urn urn,
    Object obj,
    string name,
    DatabaseEventType databaseEventType
)
public:
DatabaseEventArgs(
    Urn^ urn, 
    Object^ obj, 
    String^ name, 
    DatabaseEventType databaseEventType
)
new : 
        urn:Urn * 
        obj:Object * 
        name:string * 
        databaseEventType:DatabaseEventType -> DatabaseEventArgs
public function DatabaseEventArgs(
    urn : Urn, 
    obj : Object, 
    name : String, 
    databaseEventType : DatabaseEventType
)

매개 변수

  • obj
    유형: System.Object
    An Object system object value that specifies the object that caused the event to be raised.

참고 항목

참조

DatabaseEventArgs 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스