SqlAssemblyEventSet SqlAssemblyEventSet SqlAssemblyEventSet Class

Definition

The SqlAssemblyEventSet object represents a set of assembly events.

public ref class SqlAssemblyEventSet sealed : Microsoft::SqlServer::Management::Smo::EventSetBase
public sealed class SqlAssemblyEventSet : Microsoft.SqlServer.Management.Smo.EventSetBase
Public NotInheritable Class SqlAssemblyEventSet
Inherits EventSetBase
Inheritance
SqlAssemblyEventSetSqlAssemblyEventSetSqlAssemblyEventSet

Examples

Handling SMO Events

Remarks

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

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.

Constructors

SqlAssemblyEventSet() SqlAssemblyEventSet() SqlAssemblyEventSet()

Initializes a new instance of the SqlAssemblyEventSet class.

SqlAssemblyEventSet(SqlAssemblyEvent) SqlAssemblyEventSet(SqlAssemblyEvent) SqlAssemblyEventSet(SqlAssemblyEvent)

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

SqlAssemblyEventSet(SqlAssemblyEventSet) SqlAssemblyEventSet(SqlAssemblyEventSet) SqlAssemblyEventSet(SqlAssemblyEventSet)

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

SqlAssemblyEventSet(SqlAssemblyEvent[]) SqlAssemblyEventSet(SqlAssemblyEvent[]) SqlAssemblyEventSet(SqlAssemblyEvent[])

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

Properties

AlterAssembly AlterAssembly AlterAssembly

Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an assembly is altered.

DropAssembly DropAssembly DropAssembly

Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an assembly is dropped.

NumberOfElements NumberOfElements NumberOfElements

Gets the number of elements in the event set.

Storage Storage Storage

Gets or sets the bit array for event set storage.

(Inherited from EventSetBase)

Methods

Add(SqlAssemblyEvent) Add(SqlAssemblyEvent) Add(SqlAssemblyEvent)

Returns an SQL assembly event set after adding a new SQL assembly event to the referenced event set.

Add(SqlAssemblyEventSet, SqlAssemblyEvent) Add(SqlAssemblyEventSet, SqlAssemblyEvent) Add(SqlAssemblyEventSet, SqlAssemblyEvent)

Returns an SQL assembly event set after adding a new SQL assembly event to the specified event set.

Copy() Copy() Copy()

Returns a copy of the event set.

FitsMask(EventSetBase) FitsMask(EventSetBase) FitsMask(EventSetBase)

Specifies whether the EventSetBase object fits the specified mask.

(Inherited from EventSetBase)
HasCommonBits(EventSetBase) HasCommonBits(EventSetBase) HasCommonBits(EventSetBase)

Specifies whether the EventSetBase object has common bits with another specified EventSetBase object.

(Inherited from EventSetBase)
Remove(SqlAssemblyEvent) Remove(SqlAssemblyEvent) Remove(SqlAssemblyEvent)

Removes an event from the event set.

SetValue(EventSetBase, Boolean) SetValue(EventSetBase, Boolean) SetValue(EventSetBase, Boolean)

Sets the bit value at the specified index position.

(Inherited from EventSetBase)
Subtract(SqlAssemblyEventSet, SqlAssemblyEvent) Subtract(SqlAssemblyEventSet, SqlAssemblyEvent) Subtract(SqlAssemblyEventSet, SqlAssemblyEvent)

Returns an SQL assembly event set after subtracting a new SQL assembly event from the specified event set.

ToString() ToString() ToString()

Returns a string that represents the SqlAssemblyEventSet object.

Operators

Addition(SqlAssemblyEventSet, SqlAssemblyEvent) Addition(SqlAssemblyEventSet, SqlAssemblyEvent) Addition(SqlAssemblyEventSet, SqlAssemblyEvent)

Creates an assembly event set by performing an addition operation on a SqlAssemblyEvent object and a SqlAssemblyEventSet object.

Subtraction(SqlAssemblyEventSet, SqlAssemblyEvent) Subtraction(SqlAssemblyEventSet, SqlAssemblyEvent) Subtraction(SqlAssemblyEventSet, SqlAssemblyEvent)

Creates an assembly event set by performing a subtraction operation on a SqlAssemblyEvent object and a SqlAssemblyEventSet object.

Applies to