Export (0) Print
Expand All

SchemaEvents Class

 

Applies To: SQL Server 2016 Preview

The SchemaEvents object represents the settings required for SQL Server schema event notification.

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

System.Object
  Microsoft.SqlServer.Management.Smo.SchemaEvents

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEventSelection()

Returns a set of currently subscribed event notifications.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodStartEvents()

Starts receiving events.

System_CAPS_pubmethodStopEvents()

Stops receiving events.

System_CAPS_pubmethodSubscribeToEvents(ObjectEventSet)

Specifies the object events to receive.

System_CAPS_pubmethodSubscribeToEvents(ObjectEventSet, ServerEventHandler)

Specifies the object events to receive.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnsubscribeAllEvents()

Clear all event settings, and removes all event handlers.

System_CAPS_pubmethodUnsubscribeFromEvents(ObjectEventSet)

Clears the specified event setting, and removes all event handlers.

NameDescription
System_CAPS_pubeventServerEvent

Specifies the server event handler for schema events.

The SchemaEvents class is accessed through Events property and cannot be created as a stand-alone object.

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Legacy Code Example

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft