Partager via


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 the MongoDbCollectionSettings class.

MongoDbCollectionSettings(Nullable<Boolean>, MongoDbShardKeySetting, Nullable<Int32>)

Initializes a new instance of the MongoDbCollectionSettings class.

Properties

CanDelete

Gets or sets whether the migrator is allowed to drop the target collection in the course of performing a migration. The default is true.

ShardKey

Gets or sets describes a MongoDB shard key

TargetRUs

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

Methods

Validate()

Validate the object.

Applies to