Share via


UriFactory.CreateStoredProcedureUri(String, String, String) Method

Definition

Given a database, collection and stored proc id, this creates a stored proc link.

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

Parameters

databaseId
String

The database id

collectionId
String

The collection id

storedProcedureId
String

The stored procedure id

Returns

Uri

A stored procedure link in the format of /dbs/{0}/colls/{1}/sprocs/{2}/ with {0} being a Uri escaped version of the databaseId, {1} being collectionId and {2} being the storedProcedureId

Remarks

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

Applies to

See also