DTS Programming
Catalog Property
The Catalog property specifies the name of the catalog in which the connection is initially established.
Applies To
| Connection Object | Connection2 Object |
Syntax
object.Catalog [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list. |
| value | Name of a catalog (for example, a database). |
Data Type
String
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetCatalog(BSTR *pRetVal);
HRESULT SetCatalog(BSTR NewValue);
Remarks
When the connection uses the Microsoft® OLE DB Provider for SQL Server, the Catalog property is a database name.