ContainerProperties Constructors
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.
Overloads
ContainerProperties() |
Initializes a new instance of the ContainerProperties class for the Azure Cosmos DB service. |
ContainerProperties(String, IReadOnlyList<String>) |
Initializes a new instance of the ContainerProperties class for the Azure Cosmos DB service. |
ContainerProperties(String, String) |
Initializes a new instance of the ContainerProperties class for the Azure Cosmos DB service. |
ContainerProperties()
- Source:
- ContainerProperties.cs
Initializes a new instance of the ContainerProperties class for the Azure Cosmos DB service.
public ContainerProperties ();
Public Sub New ()
Applies to
ContainerProperties(String, IReadOnlyList<String>)
- Source:
- ContainerProperties.cs
Initializes a new instance of the ContainerProperties class for the Azure Cosmos DB service.
public ContainerProperties (string id, System.Collections.Generic.IReadOnlyList<string> partitionKeyPaths);
new Microsoft.Azure.Cosmos.ContainerProperties : string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.Azure.Cosmos.ContainerProperties
Public Sub New (id As String, partitionKeyPaths As IReadOnlyList(Of String))
Parameters
- id
- String
The Id of the resource in the Azure Cosmos service.
- partitionKeyPaths
- IReadOnlyList<String>
The paths of the hierarchical partition keys. Example: ["/tenantId", "/userId"]
Applies to
ContainerProperties(String, String)
- Source:
- ContainerProperties.cs
Initializes a new instance of the ContainerProperties class for the Azure Cosmos DB service.
public ContainerProperties (string id, string partitionKeyPath);
new Microsoft.Azure.Cosmos.ContainerProperties : string * string -> Microsoft.Azure.Cosmos.ContainerProperties
Public Sub New (id As String, partitionKeyPath As String)
Parameters
- id
- String
The Id of the resource in the Azure Cosmos service.
- partitionKeyPath
- String
The path to the partition key. Example: /location
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per