ParentCatalog Property (ADOX)

Specifies the parent catalog of a Table, User, or Column object to provide access to provider-specific properties.

Settings and Return Values

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.

Remarks

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.

Applies To

See Also

ParentCatalog Property Example (VB)