SqlParameter 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 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) |
Initializes a new instance of the SqlParameter class with the name of the parameter 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. |
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
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기