Membres Trigger
The Trigger object represents a SQL Server trigger.
Le type Trigger expose les membres suivants.
Constructeurs
| Nom | Description | |
|---|---|---|
![]() |
Trigger() () () () | Initializes a new instance of the Trigger class. |
![]() |
Trigger(SqlSmoObject, String) | Initializes a new instance of the Trigger class on the specified object, and with the specified name. |
Haut de la page
Méthodes
Haut de la page
Propriétés
| Nom | Description | |
|---|---|---|
![]() |
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. (Hérité de 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. (Hérité de SqlSmoObject.) |
![]() |
MethodName | Gets the method name for the trigger. |
![]() |
Name | Gets or sets the name of the object. (Hérité de 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. (Hérité de 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. (Hérité de 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. (Hérité de SqlSmoObject.) |
![]() |
State | Gets the state of the referenced object. (Hérité de 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. (Hérité de SqlSmoObject.) |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (Hérité de SmoObjectBase.) |
Haut de la page
Événements
| Nom | Description | |
|---|---|---|
![]() |
PropertyChanged | (Hérité de SqlSmoObject.) |
![]() |
PropertyMetadataChanged | (Hérité de SqlSmoObject.) |
Haut de la page
Implémentations d'interfaces explicites
| Nom | Description | |
|---|---|---|
![]() ![]() |
IAlienObjectDiscover | (Hérité de SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetParent | (Hérité de SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetProperty | (Hérité de SqlSmoObject.) |
![]() ![]() |
ISfcPropertyProviderGetPropertySet | (Hérité de SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetUrn | (Hérité de SqlSmoObject.) |
![]() ![]() |
IAlienObjectResolve | (Hérité de SqlSmoObject.) |
![]() ![]() |
IAlienObjectSetProperty | (Hérité de SqlSmoObject.) |
Haut de la page
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)