Home COM GDI+ WebBrowser Data Access

IAlterTable Interface

 

IID_IAlterTable

{0C733AA5-2A1C-11CE-ADE5-00AA0044773D}

 

 

The IAlterTable interface exposes methods to alter the definition of tables and columns.

 

Documentation: IAlterTable

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IAlterTable Methods

Description

AlterColumn

Alters the column ID and/or properties associated with a column in a table.

AlterTable

Alters the table ID and/or properties associated with a table.

 

AlterColumn

 

FUNCTION IAlterTable_AlterColumn ( _
  BYVAL pthis AS DWORD PTR _

, BYREF pTableId AS DBID _

, BYREF pColumnId AS DBID _

, BYVAL ColumnDescFlags AS DWORD _

, BYREF pColumnDesc AS DBCOLUMNDESC _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IAlterTable_AlterColumn (pthis, pTableId, pColumnId, ColumnDescFlags, pColumnDesc) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

AlterTable

 

FUNCTION IAlterTable_AlterTable ( _
  BYVAL pthis AS DWORD PTR _

, BYREF pTableId AS DBID _

, BYREF pNewTableId AS DBID _

, BYVAL cPropertySets AS DWORD _

, BYREF rgPropertySets AS DBPROPSET _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IAlterTable_AlterTable (pthis, pTableId, pNewTableId, cPropertySets, rgPropertySets) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Saturday, 11 November 2006 01:07:19 +0100