Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 2.3 KB

File metadata and controls

49 lines (39 loc) · 2.3 KB
title Views Collection (ADOX) | Microsoft Docs
ms.prod sql
ms.prod_service connectivity
ms.technology connectivity
ms.custom
ms.date 01/19/2017
ms.reviewer
ms.topic conceptual
apitype COM
f1_keywords
Catalog::Views
Views
helpviewer_keywords
Views collection [ADOX]
ms.assetid a55d380c-2b7b-4b57-af74-8ba0b3de0db9
author MightyPen
ms.author genemi

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 schema with the Refresh method.

This section contains the following topic.

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)
Catalog Object (ADOX)
View Object (ADOX)