Dela via


DatabaseEventArgs.SmoObject Property

Gets the object that caused the database event.

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

Syntax

'Declaration
Public ReadOnly Property SmoObject As Object
    Get
'Usage
Dim instance As DatabaseEventArgs
Dim value As Object

value = instance.SmoObject
public Object SmoObject { get; }
public:
property Object^ SmoObject {
    Object^ get ();
}
member SmoObject : Object
function get SmoObject () : Object

Property Value

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