| title | ParentCatalog Property (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 |
|
||||||||||||||||||||||||||
| helpviewer_keywords |
|
||||||||||||||||||||||||||
| ms.assetid | a0bb2ed8-d4cb-4f92-8de7-769bbe0e6273 | ||||||||||||||||||||||||||
| author | MightyPen | ||||||||||||||||||||||||||
| ms.author | genemi |
Specifies the parent catalog of a Table, User, or Column object to provide access to provider-specific properties.
Sets and returns a Catalog object. Setting ParentCatalog to an open Catalog allows access to provider-specific properties prior to appending a table or column to a Catalog collection.
Some data providers allow provider-specific property values to be written only at creation: that is, when a table or column is appended to its Catalog collection. To access these properties before appending these objects to a Catalog, specify the Catalog in the ParentCatalog property first.
An error occurs when the table or column is appended to a different Catalog than the ParentCatalog.
| Column Object (ADOX) | Table Object (ADOX) |
| User Object (ADOX) |