Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

IDSSCatalogDefn4 Interface Reference

Inherits IDSSCatalogDefn3.

Inherited by IDSSCatalogDefn5.

List of all members.


Detailed Description

Extension of IDSSCatalogDefn to support recording more SQL statements used to accesss aspects of the catalog.


Public Member Functions

HRESULT ForeignKeySQL ([in] BSTR iSQL)
 SQL statement to retrieve the foreign-key information from warehouse database.
HRESULT ForeignKeySQL ([out, retval] BSTR *oSQL)
 SQL statement to retrieve the foreign-key information from warehouse database.
HRESULT PrimaryKeySQL ([in] BSTR iSQL)
 SQL statement to retrieve the primary-key information from warehouse database.
HRESULT PrimaryKeySQL ([out, retval] BSTR *oSQL)
 SQL statement to retrieve the primary-key information from warehouse database.


Member Function Documentation

HRESULT IDSSCatalogDefn4::ForeignKeySQL [in] BSTR  iSQL  ) 
 

SQL statement to retrieve the foreign-key information from warehouse database.

If this property is not set, the Warehouse Catalog Engine uses the default ForeignKey SQL defined for the target warehouse. This property is also used to pass back the default table SQL when the caller performs a GetDefaultSQL update (see Update method).
Returns:
Usual COM result code:
  • S_OK

HRESULT IDSSCatalogDefn4::ForeignKeySQL [out, retval] BSTR *  oSQL  ) 
 

SQL statement to retrieve the foreign-key information from warehouse database.

If this property is not set, the Warehouse Catalog Engine uses the default ForeignKey SQL defined for the target warehouse. This property is also used to pass back the default table SQL when the caller performs a GetDefaultSQL update (see Update method).
Returns:
Usual COM result code:
  • S_OK

HRESULT IDSSCatalogDefn4::PrimaryKeySQL [in] BSTR  iSQL  ) 
 

SQL statement to retrieve the primary-key information from warehouse database.

If this property is not set, the Warehouse Catalog Engine uses the default PrimaryKey SQL defined for the target warehouse. This property is also used to pass back the default table SQL when the caller performs a GetDefaultSQL update (see Update method).
Returns:
Usual COM result code:
  • S_OK

HRESULT IDSSCatalogDefn4::PrimaryKeySQL [out, retval] BSTR *  oSQL  ) 
 

SQL statement to retrieve the primary-key information from warehouse database.

If this property is not set, the Warehouse Catalog Engine uses the default PrimaryKey SQL defined for the target warehouse. This property is also used to pass back the default table SQL when the caller performs a GetDefaultSQL update (see Update method).
Returns:
Usual COM result code:
  • S_OK


Copyright © 1996-2018 MicroStrategy Inc. All Rights Reserved.