| ValidateCollectionResult Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: MongoDB.Driver
 Syntax
SyntaxThe ValidateCollectionResult type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | ValidateCollectionResult | 
            Initializes a new instance of the ValidateCollectionResult class.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Code | 
            Gets the code.
            (Inherited from CommandResult.) | 
|  | DataSize | 
            Gets the data size of the collection.
             | 
|  | DeletedCount | 
            Gets the number of documents that have been deleted from the collection.
             | 
|  | DeletedSize | 
            Gets the number of documents that have been deleted from the collection.
             | 
|  | ErrorMessage | 
            Gets the error message (null if none).
            (Inherited from CommandResult.) | 
|  | Errors | 
            Gets the errors returned by validate (or an empty array if there were no errors).
             | 
|  | ExtentCount | 
            Gets the number of extents in the collection.
             | 
|  | FirstExtent | 
            Gets the first extent of the collection.
             | 
|  | FirstExtentDetails | 
            Gets details of the first extent of the collection.
             | 
|  | IndexCount | 
            Gets the number of indexes in the collection.
             | 
|  | IsValid | 
            Gets a value indicating whether the collection is valid.
             | 
|  | KeysPerIndex | 
            Gets a dictionary containing the number of keys per index.
             | 
|  | LastExtent | 
            Gets the last extent of the collection.
             | 
|  | LastExtentSize | 
            Gets the size of the last extent of the collection.
             | 
|  | Namespace | 
            Gets the namespace.
             | 
|  | Ok | 
            Gets the Ok value from the response.
            (Inherited from CommandResult.) | 
|  | Padding | 
            Gets the padding factor of the collection.
             | 
|  | RecordCount | 
            Gets the number of records in the collection.
             | 
|  | Response | 
            Gets the response.
            (Inherited from CommandResult.) | 
|  | ResultString | 
            Gets the result string.
             | 
|  | Warning | 
            Gets any warning returned by the validate command (or null if there is no warning).
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) | 
|  | GetHashCode | Serves as the default hash function.(Inherited from Object.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | ToBson | 
            Serializes an object to a BSON byte array.
            (Defined by BsonExtensionMethods.) | 
|  | ToBsonDocument | 
            Serializes an object to a BsonDocument.
            (Defined by BsonExtensionMethods.) | 
|  | ToJson | 
            Serializes an object to a JSON string.
            (Defined by BsonExtensionMethods.) | 
 See Also
See Also