MaterializedViewDefinition(String, String) Constructor
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.
Initializes a new instance of MaterializedViewDefinition.
public MaterializedViewDefinition (string sourceCollectionId, string definition);
new Azure.ResourceManager.CosmosDB.Models.MaterializedViewDefinition : string * string -> Azure.ResourceManager.CosmosDB.Models.MaterializedViewDefinition
Public Sub New (sourceCollectionId As String, definition As String)
Parameters
- sourceCollectionId
- String
The name of the source container on which the Materialized View will be created.
- definition
- String
The definition should be an SQL query which would be used to fetch data from the source container to populate into the Materialized View container.
Exceptions
sourceCollectionId
or definition
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET