Any suggestions? Export (0) Print
Expand All

ViewEventSet Class

 

Represents a set of view events.

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

System.Object
  Microsoft.SqlServer.Management.Smo.EventSetBase
    Microsoft.SqlServer.Management.Smo.ViewEventSet

public sealed class ViewEventSet : EventSetBase

NameDescription
System_CAPS_pubmethodViewEventSet()

Initializes a new instance of the ViewEventSet class.

System_CAPS_pubmethodViewEventSet(ViewEvent)

Initializes a new instance of the ViewEventSet class with a specified event.

System_CAPS_pubmethodViewEventSet(ViewEvent[])

Initializes a new instance of the ViewEventSet class with a specified set of events.

System_CAPS_pubmethodViewEventSet(ViewEventSet)

Initializes a new instance of the ViewEventSet class with a specified set of events.

NameDescription
System_CAPS_pubpropertyAlterFulltextIndex

Gets or sets a Boolean property value that specifies whether the event is included in the event set.

System_CAPS_pubpropertyAlterIndex

Gets or sets a Boolean value that specifies whether the AlterIndex event is included in the event set.

System_CAPS_pubpropertyAlterView

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.

System_CAPS_pubpropertyCreateFulltextIndex

Gets or sets a Boolean property value that specifies whether the event is included in the event set

System_CAPS_pubpropertyCreateIndex

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.

System_CAPS_pubpropertyCreateSpatialIndex

Gets or sets a Boolean property value that specifies whether the event is included in the event set.

System_CAPS_pubpropertyCreateStatistics

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.

System_CAPS_pubpropertyCreateXmlIndex

Gets or sets a Boolean property value that specifies whether the event that occurs when an XML index is created and included in the event set.

System_CAPS_pubpropertyDropFulltextIndex

Gets or sets a Boolean property value that specifies whether the event is included in the event set.

System_CAPS_pubpropertyDropIndex

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.

System_CAPS_pubpropertyDropStatistics

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.

System_CAPS_pubpropertyDropView

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.

System_CAPS_pubpropertyNumberOfElements

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.(Overrides EventSetBase.NumberOfElements.)

System_CAPS_protpropertyStorage

Gets or sets the bit array for event set storage. (Inherited from EventSetBase.)

System_CAPS_pubpropertyUpdateStatistics

Gets or sets a Boolean property value that specifies whether the event that occurs when statistics are updated is included in the event set.

NameDescription
System_CAPS_pubmethodAdd(ViewEvent)

Adds a ViewEvent object to the ViewEventSet object.

System_CAPS_pubmethodSystem_CAPS_staticAdd(ViewEventSet, ViewEvent)

Adds an event to the event set.

System_CAPS_pubmethodCopy()

Returns a copy of the event set.(Overrides EventSetBase.Copy().)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodRemove(ViewEvent)

Removes an event from the event set.

System_CAPS_pubmethodSystem_CAPS_staticSubtract(ViewEventSet, ViewEvent)

Removes a view event from the event set.

System_CAPS_pubmethodToString()

Returns a String that represents the ViewEventSet object.(Overrides Object.ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticAddition(ViewEventSet, ViewEvent)

Creates a view event set by performing an addition operation on a ViewEvent object and a ViewEventSet object.

System_CAPS_puboperatorSystem_CAPS_staticSubtraction(ViewEventSet, ViewEvent)

Creates a view event set by performing a subtraction operation on a ViewEvent object and a ViewEventSet object.

SQL Server provides events subscription for all SMO objects that have server event support. The View object has event support for the events that are represented by ViewEventSet properties.

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.

Return to top
Show:
© 2016 Microsoft