SqlQuerySpec Class
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.
Represents a SQL query in the Azure Cosmos DB service.
[System.Runtime.Serialization.DataContract]
public sealed class SqlQuerySpec
[<System.Runtime.Serialization.DataContract>]
type SqlQuerySpec = class
Public NotInheritable Class SqlQuerySpec
- Inheritance
-
SqlQuerySpec
- Attributes
Constructors
SqlQuerySpec() |
Initializes a new instance of the SqlQuerySpec class for the Azure Cosmos DB service. |
SqlQuerySpec(String, SqlParameterCollection) |
Initializes a new instance of the SqlQuerySpec class for the Azure Cosmos DB service. |
SqlQuerySpec(String) |
Initializes a new instance of the SqlQuerySpec class for the Azure Cosmos DB service. |
Properties
Parameters |
Gets or sets the SqlParameterCollection instance, which represents the collection of Azure Cosmos DB query parameters. |
QueryText |
Gets or sets the text of the Azure Cosmos DB database query. |
Methods
ShouldSerializeParameters() |
Returns a value that indicates whether the Azure Cosmos DB database Parameters property should be serialized. |
Applies to
Azure SDK for .NET