Export (0) Print
Expand All

SqlAssemblyEventSet Class

The SqlAssemblyEventSet object represents a set of assembly events.

Object
  Microsoft.SqlServer.Management.Smo.EventSetBase
    Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet

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

[<SealedAttribute>]
type SqlAssemblyEventSet =  
    class 
        inherit EventSetBase 
    end

The SqlAssemblyEventSet type exposes the following members.

  NameDescription
Public methodSqlAssemblyEventSet()Initializes a new instance of the SqlAssemblyEventSet class.
Public methodSqlAssemblyEventSet(SqlAssemblyEvent)Initializes a new instance of the SqlAssemblyEventSet class with a specified event.
Public methodSqlAssemblyEventSet(SqlAssemblyEvent[])Initializes a new instance of the SqlAssemblyEventSet class with a specified set of events.
Public methodSqlAssemblyEventSet(SqlAssemblyEventSet)Initializes a new instance of the SqlAssemblyEventSet class with a specified set of events.
Top

  NameDescription
Public propertyAlterAssemblyGets 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.
Public propertyDropAssemblyGets 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.
Public propertyNumberOfElementsGets the number of elements in the event set. (Overrides EventSetBase.NumberOfElements.)
Protected propertyStorageGets or sets the bit array for event set storage. (Inherited from EventSetBase.)
Top

  NameDescription
Public methodAdd(SqlAssemblyEvent)Returns an SQL assembly event set after adding a new SQL assembly event to the referenced event set.
Public methodStatic memberAdd(SqlAssemblyEventSet, SqlAssemblyEvent)Returns an SQL assembly event set after adding a new SQL assembly event to the specified event set.
Public methodCopyReturns a copy of the event set. (Overrides EventSetBase.Copy().)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodRemoveRemoves an event from the event set.
Public methodStatic memberSubtractReturns an SQL assembly event set after subtracting a new SQL assembly event from the specified event set.
Public methodToStringReturns a string that represents the SqlAssemblyEventSet object. (Overrides ObjectToString.)
Top

  NameDescription
Public operatorStatic memberAdditionCreates an assembly event set by performing an addition operation on a SqlAssemblyEvent object and a SqlAssemblyEventSet object.
Public operatorStatic memberSubtractionCreates an assembly event set by performing a subtraction operation on a SqlAssemblyEvent object and a SqlAssemblyEventSet object.
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft