Create Method (ADOX)

Microsoft ActiveX Data Objects (ADO)

ADOX 2.5 API Reference

Create Method

Creates a new catalog.

Syntax

Catalog.Create ConnectString

Parameters

ConnectString
A String value used to connect to the data source.

Remarks

The Create method creates and opens a new ADO Connection to the data source specified in ConnectString. If successful, the new Connection object is assigned to the ActiveConnection property.

An error will occur if the provider does not support creating new catalogs.

See Also

Create Method Example (VB)

ActiveConnection Property

Applies To: Catalog Object

© 1998-2003 Microsoft Corporation. All rights reserved.