|
|
|
ITableDefinition Interface |
|
IID_ITableDefinition |
{0C733A86-2A1C-11CE-ADE5-00AA0044773D} |
|
The ITableDefinition interface exposes simple methods to create, drop, and alter tables on the data store.
Documentation: ITableDefinition
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
ITableDefinition Methods |
Description |
|
CreateTable |
Creates a new base table in the data store. |
|
DropTable |
Drops a base table in the data store. |
|
AddColumn |
Adds a new column to a base table. |
|
DropColumn |
Drops a column from a base table. |
|
QueryInterface |
|
FUNCTION ITableDefinition_QueryInterface ( _ BYVAL pthis AS DWORD PTR _ , BYREF riid AS GUID _ , BYREF ppvObj AS DWORD _ ) AS LONG
END FUNCTION
|
|
AddRef |
|
FUNCTION ITableDefinition_AddRef ( _ BYVAL pthis AS DWORD PTR _
)
AS DWORD
LOCAL DWRESULT
AS LONG END FUNCTION
|
|
Release |
|
FUNCTION ITableDefinition_Release ( _ BYVAL pthis AS DWORD PTR _
)
AS DWORD
LOCAL DWRESULT
AS DWORD END FUNCTION
|
|
CreateTable |
|
FUNCTION
ITableDefinition_CreateTable ( _ , BYVAL pUnkOuter AS DWORD _ , BYVAL pTableID AS DWORD _ , BYVAL cColumnDescs AS DWORD _ , BYVAL rgColumnDescs AS DWORD _ , BYREF riid AS GUID _ , BYVAL cPropertySets AS DWORD _ , BYREF rgPropertySets AS DWORD _ , BYREF ppTableID AS DWORD _ , BYREF ppRowset AS DWORD _ ) AS LONG
|
|
DropTable |
|
FUNCTION
ITableDefinition_DropTable ( _ , BYVAL pTableID AS DWORD _ ) AS LONG
|
|
AddColumn |
|
FUNCTION
ITableDefinition_AddColumn ( _ , BYVAL pTableID AS DWORD _ , BYREF pColumnDesc AS DWORD _ , BYREF ppColumnID AS DWORD _ ) AS LONG
|
|
DropColumn |
|
FUNCTION
ITableDefinition_DropColumn ( _ , BYVAL pTableID AS DWORD _ , BYVAL pColumnID AS DWORD _ ) AS LONG
|
Page last updated on Wednesday, 15 February 2006 23:52:20 +0100