Table of Contents

Class SqlStoredProcedureResource

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

Cosmos DB SQL storedProcedure resource object

public class SqlStoredProcedureResource
Inheritance
SqlStoredProcedureResource
Inherited Members

Constructors

SqlStoredProcedureResource()

Initializes a new instance of the SqlStoredProcedureResource class.

public SqlStoredProcedureResource()

SqlStoredProcedureResource(string, string)

Initializes a new instance of the SqlStoredProcedureResource class.

public SqlStoredProcedureResource(string id, string body = null)

Parameters

id string

Name of the Cosmos DB SQL storedProcedure

body string

Body of the Stored Procedure

Properties

Body

Gets or sets body of the Stored Procedure

public string Body { get; set; }

Property Value

string

Id

Gets or sets name of the Cosmos DB SQL storedProcedure

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