共用方式為


MongoDBCollectionSettings Class

Definition

Describes how an individual MongoDB collection should be migrated.

public class MongoDBCollectionSettings
type MongoDBCollectionSettings = class
Public Class MongoDBCollectionSettings
Inheritance
MongoDBCollectionSettings

Constructors

MongoDBCollectionSettings()

Initializes a new instance of MongoDBCollectionSettings.

Properties

CanDelete

Whether the migrator is allowed to drop the target collection in the course of performing a migration. The default is true.

ShardKey

Describes a MongoDB shard key.

TargetRUs

The RUs that should be configured on a CosmosDB target, or null to use the default. This has no effect on non-CosmosDB targets.

Applies to