StoredProcedure.Body Property

Definition

Gets or sets the body of the Azure DocumentDB stored procedure.

[Newtonsoft.Json.JsonProperty(PropertyName="body")]
public string Body { get; set; }
Property Value

The body of the stored procedure.

Remarks

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