Export (0) Print
Expand All

ObjectEvent Class

 

Applies To: SQL Server 2016 Preview

The ObjectEvent object represents the of SQL Server object events that can be included in an object event set.

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

System::Object
  Microsoft.SqlServer.Management.Smo::ObjectEvent

public ref class ObjectEvent sealed 

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticAlter

Gets an object event that can be included in the event set.

System_CAPS_pubpropertySystem_CAPS_staticDrop

Gets an object event that can be included in the event set.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAdd(ObjectEvent^, ObjectEvent^)

Returns the object event set that is created by adding two object events.

System_CAPS_pubmethodSystem_CAPS_staticBitwiseOr(ObjectEvent^, ObjectEvent^)

Creates a new object event set by performing a BitwiseOr operation on two ObjectEvent objects

System_CAPS_pubmethodEquals(Object^)

Returns a value whether the ObjectEvent is equal to the specified object.(Overrides Object::Equals(Object^).)

System_CAPS_pubmethodGetHashCode()

This method supports the SMO infrastructure and is not intended to be used directly from your code.(Overrides Object::GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Overrides T:System.ToString method in a ObjectEvent object.(Overrides Object::ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticAddition(ObjectEvent^, ObjectEvent^)

Creates a object event set by performing an addition operation on two ObjectEvent objects.

System_CAPS_puboperatorSystem_CAPS_staticBitwiseOr(ObjectEvent^, ObjectEvent^)

Creates an object event set by performing a bitwise OR operation on two ObjectEvent objects.

System_CAPS_puboperatorSystem_CAPS_staticEquality(ObjectEvent^, ObjectEvent^)

Creates a object event set by performing an equality operation on two ObjectEvent objects.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(ObjectEvent^ to ObjectEventSet^)

:Microsoft.SqlServer.Management.Smo.ObjectEventSetCreates a new object event set by implicitly converting a ObjectEvent.

System_CAPS_puboperatorSystem_CAPS_staticInequality(ObjectEvent^, ObjectEvent^)

Creates an object event set by performing an inequality operation on two ObjectEvent objects.

The ObjectEvent object contains a property for each event to which the object can respond. The actual set of events is specified using the ObjectEventSet 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