ViewEvent Class
The ViewEvent object represents the SQL Server view events that can be included in a view event set.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.ViewEvent
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public NotInheritable Class ViewEvent
'Usage
Dim instance As ViewEvent
public sealed class ViewEvent
public ref class ViewEvent sealed
[<SealedAttribute>]
type ViewEvent = class end
public final class ViewEvent
The ViewEvent type exposes the following members.
Properties
Name | Description | |
---|---|---|
AlterFulltextIndex | Gets a view event that can be included in the event set. | |
AlterIndex | Gets a view event that can be included in the event set. | |
AlterView | Gets a view event that can be included in the event set. | |
CreateFulltextIndex | Gets a view event that can be included in the event set. | |
CreateIndex | Gets a view event that can be included in the event set. | |
CreateSpatialIndex | Gets a view event that can be included in the event set. | |
CreateStatistics | Gets a view event that can be included in the event set. | |
CreateXmlIndex | Gets a view event that can be included in the event set. | |
DropFulltextIndex | Gets a view event that can be included in the event set. | |
DropIndex | Gets a view event that can be included in the event set. | |
DropStatistics | Gets a view event that can be included in the event set. | |
DropView | Gets a view event that can be included in the event set. | |
UpdateStatistics | Gets a view event that can be included in the event set. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds two view events to the event set. | |
BitwiseOr | Creates a view event set by combining two view events using a bitwise OR. | |
Equals | Determines whether the referenced view event object is equal to the specified object. (Overrides Object.Equals(Object).) | |
Finalize | (Inherited from Object.) | |
GetHashCode | This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Overrides Object.GetHashCode().) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Returns the referenced object in string format. (Overrides Object.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Addition | Creates a view event set by performing an addition operation on two ViewEvent objects. | |
BitwiseOr | Creates a view event set by performing a bitwise OR operation on two ViewEvent objects. | |
Equality | Creates a view event set by performing an equality operation on two ViewEvent objects. | |
Implicit(ViewEvent to ViewEventSet) | Casts a single view event as a view event set. | |
Inequality | Creates a view event set by performing an inequality operation on two ViewEvent objects. |
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.