UriFactory.CreateTriggerUri(String, String, String) Method

Definition

Given a database, collection and trigger id, this creates a trigger link.

public static Uri CreateTriggerUri (string databaseId, string collectionId, string triggerId);
static member CreateTriggerUri : string * string * string -> Uri
Public Shared Function CreateTriggerUri (databaseId As String, collectionId As String, triggerId As String) As Uri

Parameters

databaseId
String

The database id

collectionId
String

The collection id

triggerId
String

The trigger id

Returns

Uri

A trigger link in the format of /dbs/{0}/colls/{1}/triggers/{2}/ with {0} being a Uri escaped version of the databaseId, {1} being collectionId and {2} being the triggerId

Remarks

Would be used when replacing, executing, or deleting a Trigger in Azure Cosmos DB.

Applies to

See also