Partilhar via


ViewEventSet Members

The ViewEventSet object represents a set of view events.

The following tables list the members exposed by the ViewEventSet type.

Public Constructors

  Name Description
ViewEventSet Overloaded. Initializes a new instance of the ViewEventSet class.

Top

Public Properties

(see also Protected Properties )

  Name Description
ms220729.pubproperty(en-US,SQL.90).gif AlterIndex Gets or sets a Boolean property value that specifies whether the event that occurs when an index is altered is included in the event set.
ms220729.pubproperty(en-US,SQL.90).gif AlterView Gets or sets a Boolean property value that specifies whether the event that occurs when a view is altered is included in the event set.
ms220729.pubproperty(en-US,SQL.90).gif CreateIndex Gets or sets a Boolean property value that specifies whether the event that occurs when an index is created is included in the event set.
ms220729.pubproperty(en-US,SQL.90).gif CreateStatistics Gets or sets a Boolean property value that specifies whether the event that occurs when a statistics counter is created is included in the event set.
ms220729.pubproperty(en-US,SQL.90).gif CreateXmlIndex Gets or sets a Boolean property value that specifies whether the event that occurs when an XML index is created is included in the event set.
ms220729.pubproperty(en-US,SQL.90).gif DropIndex Gets or sets a Boolean property value that specifies whether the event that occurs when an index is dropped is included in the event set.
ms220729.pubproperty(en-US,SQL.90).gif DropStatistics Gets or sets a Boolean property value that specifies whether the event that occurs when a statistic counter is dropped is included in the event set.
ms220729.pubproperty(en-US,SQL.90).gif DropView Gets or sets a Boolean property value that specifies whether the event that occurs when a view is dropped is included in the event set.
ms220729.pubproperty(en-US,SQL.90).gif NumberOfElements Overridden. Gets or sets a Boolean property value that specifies whether the event that occurs when the number of elements changes is included in the event set.
ms220729.pubproperty(en-US,SQL.90).gif UpdateStatistics Gets or sets a Boolean property value that specifies whether the event that occurs when statistics are updated is included in the event set.

Top

Protected Properties

  Name Description
ms220729.protproperty(en-US,SQL.90).gif Storage  Gets or sets the bit array for event set storage. (inherited from EventSetBase)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms220729.pubmethod(en-US,SQL.90).gif Add Overloaded.  
ms220729.pubmethod(en-US,SQL.90).gif Copy Overridden. Returns a copy of the event set.
ms220729.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220729.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms220729.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms220729.pubmethod(en-US,SQL.90).gifms220729.static(en-US,SQL.90).gif op_Addition Creates a view event set by performing an addition operation on a ViewEvent object and a ViewEventSet object.
ms220729.pubmethod(en-US,SQL.90).gifms220729.static(en-US,SQL.90).gif op_Subtraction Creates a view event set by performing a subtraction operation on a ViewEvent object and a ViewEventSet object.
ms220729.pubmethod(en-US,SQL.90).gifms220729.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220729.pubmethod(en-US,SQL.90).gif Remove Removes an event from the event set.
ms220729.pubmethod(en-US,SQL.90).gifms220729.static(en-US,SQL.90).gif Subtract  
ms220729.pubmethod(en-US,SQL.90).gif ToString Overridden. Returns a String that represents the ViewEventSet object.

Top

Protected Methods

  Name Description
ms220729.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms220729.protmethod(en-US,SQL.90).gif FitsMask  (inherited from EventSetBase )
ms220729.protmethod(en-US,SQL.90).gif HasCommonBits  (inherited from EventSetBase )
ms220729.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )
ms220729.protmethod(en-US,SQL.90).gif SetValue  (inherited from EventSetBase )

Top

See Also

Reference

ViewEventSet Class
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Handling SMO Events