UriFactory.CreateStoredProcedureUri(String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.