Share via


StoredProcedureProperties.Body Property

Definition

Gets or sets the body of the Azure Cosmos DB stored procedure.

public string Body { get; set; }
member this.Body : string with get, set
Public Property Body As String

Property Value

The body of the stored procedure.

Remarks

Must be a valid JavaScript function. For e.g. "function () { getContext().getResponse().setBody('Hello World!'); }"

Applies to