Megosztás a következőn keresztül:


MaterializedViewDefinition(String, String) Constructor

Definition

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