Trigger Class

Definition

Represents a trigger in the Azure DocumentDB database service.

public class Trigger : Microsoft.Azure.Documents.Resource
Inheritance

Inherited Members

Microsoft.Azure.Documents.JsonSerializable

Microsoft.Azure.Documents.Resource

Remarks

Azure DocumentDB supports pre and post triggers written in JavaScript to be executed on creates, updates and deletes. For additional details, refer to the server-side JavaScript API documentation.

Constructors

Trigger()

Initializes a new instance of the Trigger class for the Azure DocumentDB database service.

Properties

Body

Gets or sets the body of the trigger for the Azure DocumentDB database service.

TriggerOperation

Gets or sets the operation the trigger is associated with for the Azure DocumentDB database service.

TriggerType

Get or set the type of the trigger for the Azure DocumentDB database service.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)