Свойства Trigger

Тип Trigger предоставляет доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство AnsiNullsStatus Gets the Boolean property value that specifies whether ISO NULL handling is enabled in the trigger.
Открытое свойство AssemblyName Gets or sets the name of the .NET assembly that is required by the referenced trigger.
Открытое свойство ClassName Gets or sets the name of the class that is called by the referenced trigger.
Открытое свойство CreateDate Gets the date and time when the trigger was created.
Открытое свойство DateLastModified Gets the date and time when the trigger was last modified.
Открытое свойство Delete Gets or sets the Boolean property value that specifies whether the trigger is executed when records are deleted from the table.
Открытое свойство DeleteOrder Gets or sets the order in which the trigger and the delete operation are executed.
Открытое свойство Events Gets the events that are associated with the trigger.
Защищенное свойство ExecuteForScalar Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Наследуется из SqlSmoObject.)
Открытое свойство ExecutionContext Gets or sets the execution context.
Открытое свойство ExecutionContextPrincipal Gets or sets the execution context principal.
Открытое свойство ExtendedProperties Gets the extended properties of the Trigger object.
Открытое свойство ID Gets the ID value that uniquely identifies the trigger.
Открытое свойство ImplementationType Gets or sets the implementation type of the trigger.
Открытое свойство Insert Gets or sets the Boolean property value that specifies whether the trigger is fired when records are inserted into the table.
Открытое свойство InsertOrder Gets or sets the order in which the trigger and the insert operation are executed.
Открытое свойство InsteadOf Gets or sets a Boolean property that specifies whether the trigger runs instead of the insert, delete, or update operation.
Открытое свойство IsEnabled Gets or sets the Boolean property that specifies whether the trigger is enabled.
Открытое свойство IsEncrypted Gets or sets the Boolean property value that specifies whether the trigger is encrypted.
Открытое свойство IsSystemObject Gets the Boolean property value that specifies whether the trigger is a system object.
Защищенное свойство IsTouched Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Наследуется из SqlSmoObject.)
Открытое свойство MethodName Gets the method name for the trigger.
Открытое свойство Name Gets or sets the name of the object. (Наследуется из NamedSmoObject.)
Открытое свойство NotForReplication Gets or sets a Boolean property value that specifies whether the trigger is included in replication operations.
Защищенное свойство ObjectInSpace Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (Наследуется из SqlSmoObject.)
Открытое свойство Parent Gets or sets the SqlSmoObject object that is the parent of the Trigger object.
Открытое свойство Properties Gets a collection of Property objects that represent the object properties. (Наследуется из SqlSmoObject.)
Открытое свойство QuotedIdentifierStatus Gets or sets a Boolean property value that specifies whether identifiers delimited by double quotation marks are Transact-SQL reserved keywords or contain characters not usually allowed by the Transact-SQL syntax rules.
Защищенное свойство ScalarResult Gets the scalar result for the referenced object. (Наследуется из SqlSmoObject.)
Открытое свойство State Gets the state of the referenced object. (Наследуется из SmoObjectBase.)
Открытое свойство TextBody Gets or sets the Transact-SQL string that defines the trigger.
Открытое свойство TextHeader Gets or sets the header part of the Transact-SQL string that defines the trigger.
Открытое свойство TextMode Gets or sets the Boolean property that specifies whether the text header is editable as text.
Открытое свойство Update Gets or sets the Boolean property value that specifies whether the trigger is fired when records are updated in the table.
Открытое свойство UpdateOrder Gets or sets the order in which the trigger and the update operation are executed.
Открытое свойство Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Наследуется из SqlSmoObject.)
Открытое свойство UserData Gets or sets user-defined data associated with the referenced object. (Наследуется из SmoObjectBase.)

В начало