Redigera

Dela via


Create Method (ADOX)

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.

Applies To

Catalog Object (ADOX)

See Also

Create Method Example (VB)
ActiveConnection Property (ADOX)