Share via


Views Collection (ADOX)

Contains all View objects of a catalog.

Remarks

The Append method for a Views collection is unique for ADOX. You can:

  • Add a new view to the collection with the Append method.

The remaining properties and methods are standard to ADO collections. You can:

  • Access a view in the collection with the Item property.
  • Return the number of views contained in the collection with the Count property.
  • Remove a view from the collection with the Delete method.
  • Update the objects in the collection to reflect the current database's schema with the Refresh method.

See Also

Views and Fields Collections Example (VB) | Views Append Method Example (VB) | Views Collection, CommandText Property Example (VB) | Views Delete Method Example (VB) | Views Refresh Method Example (VB)

Properties, Methods, and Events | Catalog Object | View Object