Sdílet prostřednictvím


UserDefinedFunction.Body Property

Definition

Gets or sets the body of the user defined function for the Azure Cosmos DB service.

[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 user defined function.

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

This must be a valid JavaScript function e.g. "function (input) { return input.toLowerCase(); }".

Applies to