UriFactory.CreateUserDefinedFunctionUri(String, String, String) Method

Definition

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

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

Parameters

databaseId
String

The database id

collectionId
String

The collection id

udfId
String

The udf id

Returns

Uri

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

Remarks

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

Applies to

See also