共用方式為


SqlTriggerResource Class

Definition

Cosmos DB SQL trigger resource object

public class SqlTriggerResource
type SqlTriggerResource = class
Public Class SqlTriggerResource
Inheritance
SqlTriggerResource

Constructors

SqlTriggerResource()

Initializes a new instance of the SqlTriggerResource class.

SqlTriggerResource(String, String, String, String)

Initializes a new instance of the SqlTriggerResource class.

Properties

Body

Gets or sets body of the Trigger

Id

Gets or sets name of the Cosmos DB SQL trigger

TriggerOperation

Gets or sets the operation the trigger is associated with. Possible values include: 'All', 'Create', 'Update', 'Delete', 'Replace'

TriggerType

Gets or sets type of the Trigger. Possible values include: 'Pre', 'Post'

Methods

Validate()

Validate the object.

Applies to