Click or drag to resize

CreateCollectionOptions Structure

This object store the required parameters to create a Collection with schema validation.

Namespace:  MySqlX.XDevAPI.Common
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntax
public struct CreateCollectionOptions

The CreateCollectionOptions type exposes the following members.

Properties
  NameDescription
Public propertyReuseExisting
If false, throws an exception if the collection exists.
Public propertyValidation
Object which hold the Level and Schema parameters.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
See Also