Class StoredProcedure
Represents a stored procedure in the Azure Cosmos DB service.
public class StoredProcedure : Resource
- Inheritance
-
StoredProcedure
- Inherited Members
- Extension Methods
Remarks
Azure Cosmos DB allows application logic written entirely in JavaScript to be executed directly inside the database engine under the database transaction. For additional details, refer to the server-side JavaScript API documentation.
Constructors
StoredProcedure()
Initializes a new instance of the StoredProcedure class for the Azure Cosmos DB service.
public StoredProcedure()
Properties
Body
Gets or sets the body of the Azure Cosmos DB stored procedure.
public string Body { get; set; }
Property Value
- string
The body of the stored procedure.
Remarks
Must be a valid JavaScript function. For e.g. "function () { getContext().getResponse().setBody('Hello World!'); }"