Table of Contents

Class SqlUserDefinedFunctionResource

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.Models
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

Cosmos DB SQL userDefinedFunction resource object

public class SqlUserDefinedFunctionResource
Inheritance
SqlUserDefinedFunctionResource
Inherited Members

Constructors

SqlUserDefinedFunctionResource()

Initializes a new instance of the SqlUserDefinedFunctionResource class.

public SqlUserDefinedFunctionResource()

SqlUserDefinedFunctionResource(string, string)

Initializes a new instance of the SqlUserDefinedFunctionResource class.

public SqlUserDefinedFunctionResource(string id, string body = null)

Parameters

id string

Name of the Cosmos DB SQL userDefinedFunction

body string

Body of the User Defined Function

Properties

Body

Gets or sets body of the User Defined Function

public string Body { get; set; }

Property Value

string

Id

Gets or sets name of the Cosmos DB SQL userDefinedFunction

public string Id { get; set; }

Property Value

string

Methods

Validate()

Validate the object.

public virtual void Validate()

Exceptions

Microsoft.Rest.ValidationException

Thrown if validation fails