CosmosTriggerExtensions 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
Cosmos DB 特定扩展方法以及 ITrigger 相关类型。
[System.Runtime.CompilerServices.Nullable(0)]
public static class CosmosTriggerExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type CosmosTriggerExtensions = class
Public Module CosmosTriggerExtensions
- 继承
-
CosmosTriggerExtensions
- 特性
注解
有关详细信息和示例,请参阅 数据库触发器 。
方法
| 名称 | 说明 |
|---|---|
| GetTriggerOperation(IReadOnlyTrigger) |
获取此触发器的 Cosmos DB 触发器操作。 |
| GetTriggerOperationConfigurationSource(IConventionTrigger) |
获取 ConfigurationSource Cosmos DB 触发器操作。 |
| GetTriggerType(IReadOnlyTrigger) |
获取此触发器的 Cosmos DB 触发器类型。 |
| GetTriggerTypeConfigurationSource(IConventionTrigger) |
获取 Cosmos DB 触发器类型的值 ConfigurationSource 。 |
| SetTriggerOperation(IConventionTrigger, Nullable<TriggerOperation>, Boolean) |
设置此触发器的 Cosmos DB 触发器操作。 |
| SetTriggerOperation(IMutableTrigger, Nullable<TriggerOperation>) |
设置此触发器的 Cosmos DB 触发器操作。 |
| SetTriggerType(IConventionTrigger, Nullable<TriggerType>, Boolean) |
设置此触发器的 Cosmos DB 触发器类型。 |
| SetTriggerType(IMutableTrigger, Nullable<TriggerType>) |
设置此触发器的 Cosmos DB 触发器类型。 |