Класс SqlAssemblyEvent
The SqlAssemblyEvent object represents the SQL Server assembly events that can be included in an assembly event set.
Иерархия наследования
System.Object
Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public NotInheritable Class SqlAssemblyEvent
'Применение
Dim instance As SqlAssemblyEvent
public sealed class SqlAssemblyEvent
public ref class SqlAssemblyEvent sealed
[<SealedAttribute>]
type SqlAssemblyEvent = class end
public final class SqlAssemblyEvent
Тип SqlAssemblyEvent обеспечивает доступ к следующим элементам.
Свойства
Имя | Описание | |
---|---|---|
![]() ![]() |
AlterAssembly | Gets an assembly event that can be included in the event set. |
![]() ![]() |
DropAssembly | Gets an assembly event that can be included in the event set. |
В начало
Методы
Имя | Описание | |
---|---|---|
![]() ![]() |
Add | Returns an SQL assembly event set that is created by adding two SQL assembly events together. |
![]() ![]() |
BitwiseOr | Returns a SqlAssemblyEventSet as a result of a bitwise OR operation on two Sql Assembly Events. |
![]() |
Equals | Determines whether the referenced assembly event object is equal to a specified object. (Переопределяет Object.Equals(Object).) |
![]() |
GetHashCode | This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Переопределяет Object.GetHashCode().) |
![]() |
GetType | (Производный от Object.) |
![]() |
ToString | Returns the referenced object in string format. (Переопределяет Object.ToString().) |
В начало
Операторы
Имя | Описание | |
---|---|---|
![]() ![]() |
Addition | Creates an assembly event set by performing an addition operation on two SqlAssemblyEvent objects. |
![]() ![]() |
BitwiseOr | Creates an assembly event set by performing a bitwise OR operation on two ServerEvent objects. |
![]() ![]() |
Equality | Creates an assembly event set by performing an equality operation on two SqlAssemblyEvent objects. |
![]() ![]() |
Implicit(SqlAssemblyEvent to SqlAssemblyEventSet) | Casts a single SqlAssemblyEvent as an SqlAssemblyEventSet. |
![]() ![]() |
Inequality | Creates an assembly event set by performing an inequality operation on two SqlAssemblyEvent objects. |
В начало
Замечания
The SqlAssemblyEvent object contains a property for each event to which assembly can respond. The actual set of events is specified using the SqlAssemblyEventSet object.
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.
Примеры
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.