The ViewEventSet object represents a set of view events.
The following tables list the members exposed by the ViewEventSet type.
Public Constructors
| 名称 | Description | |
|---|---|---|
| ViewEventSet | Overloaded. Initializes a new instance of the ViewEventSet class. | 
顶部
Public Properties
(see also Protected Properties )
| 名称 | Description | |
|---|---|---|
![]()  | 
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. | 
![]()  | 
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. | 
![]()  | 
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. | 
![]()  | 
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. | 
![]()  | 
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. | 
![]()  | 
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. | 
![]()  | 
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. | 
![]()  | 
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. | 
![]()  | 
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. | 
![]()  | 
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. | 
顶部
Protected Properties
| 名称 | Description | |
|---|---|---|
![]()  | 
Storage | Gets or sets the bit array for event set storage. (inherited from EventSetBase) | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
![]()  | 
Add | Overloaded. | 
![]()  | 
Copy | Overridden. Returns a copy of the event set. | 
![]()  | 
Equals | Overloaded. (inherited from Object ) | 
![]()  | 
GetHashCode | (inherited from Object ) | 
![]()  | 
GetType | (inherited from Object ) | 
![]() ![]()  | 
op_Addition | Creates a view event set by performing an addition operation on a ViewEvent object and a ViewEventSet object. | 
![]() ![]()  | 
op_Subtraction | Creates a view event set by performing a subtraction operation on a ViewEvent object and a ViewEventSet object. | 
![]() ![]()  | 
ReferenceEquals | (inherited from Object ) | 
![]()  | 
Remove | Removes an event from the event set. | 
![]() ![]()  | 
Subtract | |
![]()  | 
ToString | Overridden. Returns a String that represents the ViewEventSet object. | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
![]()  | 
Finalize | (inherited from Object ) | 
![]()  | 
FitsMask | (inherited from EventSetBase ) | 
![]()  | 
HasCommonBits | (inherited from EventSetBase ) | 
![]()  | 
MemberwiseClone | (inherited from Object ) | 
![]()  | 
SetValue | (inherited from EventSetBase ) | 
顶部
请参阅
参考
ViewEventSet Class
Microsoft.SqlServer.Management.Smo Namespace
.gif)
.gif)
.gif)
.gif)
.gif)