Export (0) Print
Expand All

ViewEvent Class

The ViewEvent object represents the SQL Server view events that can be included in a view event set.

System.Object
  Microsoft.SqlServer.Management.Smo.ViewEvent

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

public sealed class ViewEvent

The ViewEvent type exposes the following members.

  NameDescription
Public propertyStatic memberAlterFulltextIndexGets a view event that can be included in the event set.
Public propertyStatic memberAlterIndexGets a view event that can be included in the event set.
Public propertyStatic memberAlterViewGets a view event that can be included in the event set.
Public propertyStatic memberCreateFulltextIndexGets a view event that can be included in the event set.
Public propertyStatic memberCreateIndexGets a view event that can be included in the event set.
Public propertyStatic memberCreateSpatialIndexGets a view event that can be included in the event set.
Public propertyStatic memberCreateStatisticsGets a view event that can be included in the event set.
Public propertyStatic memberCreateXmlIndexGets a view event that can be included in the event set.
Public propertyStatic memberDropFulltextIndexGets a view event that can be included in the event set.
Public propertyStatic memberDropIndexGets a view event that can be included in the event set.
Public propertyStatic memberDropStatisticsGets a view event that can be included in the event set.
Public propertyStatic memberDropViewGets a view event that can be included in the event set.
Public propertyStatic memberUpdateStatisticsGets a view event that can be included in the event set.
Top

  NameDescription
Public methodStatic memberAddAdds two view events to the event set.
Public methodStatic memberBitwiseOrCreates a view event set by combining two view events using a bitwise OR.
Public methodEqualsDetermines whether the referenced view event object is equal to the specified object. (Overrides Object.Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeThis method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Overrides Object.GetHashCode().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns the referenced object in string format. (Overrides Object.ToString().)
Top

  NameDescription
Public operatorStatic memberAdditionCreates a view event set by performing an addition operation on two ViewEvent objects.
Public operatorStatic memberBitwiseOrCreates a view event set by performing a bitwise OR operation on two ViewEvent objects.
Public operatorStatic memberEqualityCreates a view event set by performing an equality operation on two ViewEvent objects.
Public operatorStatic memberImplicit(ViewEvent to ViewEventSet)Casts a single view event as a view event set.
Public operatorStatic memberInequalityCreates a view event set by performing an inequality operation on two ViewEvent objects.
Top

The ViewEvent object contains a property for each event to which the view can respond. The actual set of events is specified using the ViewEventSet object.

Thread Safety

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft