Megosztás a következőn keresztül:


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
Public propertyStatic member AlterFulltextIndex Gets a view event that can be included in the event set.
Public propertyStatic member AlterIndex Gets a view event that can be included in the event set.
Public propertyStatic member AlterView Gets a view event that can be included in the event set.
Public propertyStatic member CreateFulltextIndex Gets a view event that can be included in the event set.
Public propertyStatic member CreateIndex Gets a view event that can be included in the event set.
Public propertyStatic member CreateSpatialIndex Gets a view event that can be included in the event set.
Public propertyStatic member CreateStatistics Gets a view event that can be included in the event set.
Public propertyStatic member CreateXmlIndex Gets a view event that can be included in the event set.
Public propertyStatic member DropFulltextIndex Gets a view event that can be included in the event set.
Public propertyStatic member DropIndex Gets a view event that can be included in the event set.
Public propertyStatic member DropStatistics Gets a view event that can be included in the event set.
Public propertyStatic member DropView Gets a view event that can be included in the event set.
Public propertyStatic member UpdateStatistics Gets a view event that can be included in the event set.

Top

Methods

  Name Description
Public methodStatic member Add Adds two view events to the event set.
Public methodStatic member BitwiseOr Creates a view event set by combining two view events using a bitwise OR.
Public method Equals Determines whether the referenced view event object is equal to the specified object. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns the referenced object in string format. (Overrides Object.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Addition Creates a view event set by performing an addition operation on two ViewEvent objects.
Public operatorStatic member BitwiseOr Creates a view event set by performing a bitwise OR operation on two ViewEvent objects.
Public operatorStatic member Equality Creates a view event set by performing an equality operation on two ViewEvent objects.
Public operatorStatic member Implicit(ViewEvent to ViewEventSet) Casts a single view event as a view event set.
Public operatorStatic member 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.