StoredProcedureProperties.Body Property
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.
Gets or sets the body of the Azure Cosmos DB stored procedure.
[Newtonsoft.Json.JsonProperty(PropertyName="body")]
public string Body { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="body")>]
member this.Body : string with get, set
Public Property Body As String
Property Value
The body of the stored procedure.
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Remarks
Must be a valid JavaScript function. For e.g. "function () { getContext().getResponse().setBody('Hello World!'); }"
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET