다음을 통해 공유


SqlParameter Class

Definition

Represents a parameter associated with SqlQuerySpec in the Azure Cosmos DB service.

[System.Runtime.Serialization.DataContract]
public sealed class SqlParameter
[<System.Runtime.Serialization.DataContract>]
type SqlParameter = class
Public NotInheritable Class SqlParameter
Inheritance
SqlParameter
Attributes

Remarks

Azure Cosmos DB SQL parameters are name-value pairs referenced in parameterized queries. Unlike in relation SQL databases, they don't have types associated with them.

Constructors

SqlParameter()

Initializes a new instance of the SqlParameter class for the Azure Cosmos DB service.

SqlParameter(String, Object)

Initializes a new instance of the SqlParameter class with the name and value of the parameter for the Azure Cosmos DB service.

SqlParameter(String)

Initializes a new instance of the SqlParameter class with the name of the parameter for the Azure Cosmos DB service.

Properties

Name

Gets or sets the name of the parameter for the Azure Cosmos DB service.

Value

Gets or sets the value of the parameter for the Azure Cosmos DB service.

Applies to