|
|
|
ITableDefinitionWothConstraints Interface |
|
IID_ITableDefinitionWithConstraints |
{0C733AAB-2A1C-11CE-ADE5-00AA0044773D} |
|
The ITableDefinitionWithConstraints interface exposes simple methods to create, drop, and alter tables on the data store. It also provides a mechanism to create and delete multitable and multicolumn constraints on tables.
Documentation: ITableDefinitionWithConstraints
|
|
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. |
|
ITableCreation Methods |
Description |
|
GetTableDefinition |
Adds a new column to a base table. |
|
ITableDefinitionWithConstraints Methods |
Description |
|
AddConstraints |
Adds a new constraint to a base table. |
|
CreateTableWithConstraints |
Creates a new base table in the data store, allowing constraints to be added atomically during table creation. |
|
DropConstraint |
Drops a constraint from a base table. |
|
QueryInterface |
|
FUNCTION ITableDefinitionWithConstraints_QueryInterface ( _ BYVAL pthis AS DWORD PTR _ , BYREF riid AS GUID _ , BYREF ppvObj AS DWORD _ ) AS LONG
END FUNCTION
|
|
AddRef |
|
FUNCTION ITableDefinitionWithConstraints_AddRef ( _ BYVAL pthis AS DWORD PTR _
)
AS DWORD
LOCAL DWRESULT
AS LONG END FUNCTION
|
|
Release |
|
FUNCTION ITableDefinitionWithConstraints_Release ( _ BYVAL pthis AS DWORD PTR _
)
AS DWORD
LOCAL DWRESULT
AS DWORD END FUNCTION
|
|
CreateTable |
|
FUNCTION
ITableDefinitionWithConstraints_CreateTable ( _ , BYVAL pUnkOuter AS DWORD _ , BYREF pTableID AS DBID _ , BYVAL cColumnDescs AS DWORD _ , BYVAL rgColumnDescs AS DWORD _ , BYREF riid AS GUID _ , BYVAL cPropertySets AS DWORD _ , BYREF rgPropertySets AS DWORD _ , BYREF ppTableID AS DBID _ , BYREF ppRowset AS DWORD _ ) AS LONG
|
|
DropTable |
|
FUNCTION
ITableDefinitionWithConstraints_DropTable ( _ , BYREF pTableID AS DBID _ ) AS LONG
|
|
AddColumn |
|
FUNCTION
ITableDefinitionWithConstraints_AddColumn ( _ , BYREF pTableID AS DBID _ , BYREF pColumnDesc AS DWORD _ , BYREF ppColumnID AS DBID _ ) AS LONG
|
|
DropColumn |
|
FUNCTION
ITableDefinitionWithConstraints_DropColumn ( _ , BYREF pTableID AS DBID _ , BYREF pColumnID AS DBID _ ) AS LONG
|
|
GetTableDefinition |
|
FUNCTION
ITableDefinitionWithConstraints_GetTableDefinition ( _ , BYREF pTableID AS DBID _ , BYVAL pColumnDescs AS DWORD _ , BYREF prgColumnDescs AS DWORD _ , BYREF pcPropertySets AS DWORD _ , BYREF prgPropertySets AS DWORD _ , BYREF pcConstrainDescs AS DWORD _ , BYREF prgConstrainDescs AS DWORD _ , BYREF ppwszStringBuffer AS DWORD _ ) AS LONG
|
|
AddConstraint |
|
FUNCTION
ITableDefinitionWithConstraints_AddConstraint ( _ , BYREF pTableID AS DBID _ , BYVAL pConstraintDesc AS DWORD _ ) AS LONG
|
|
CreateTableWithConstraints |
|
FUNCTION
ITableDefinitionWithConstraints_CreateTableWithConstraints ( _ , BYVAL pUnkOuter AS DWORD _ , BYREF pTableID AS DBID _ , BYVAL cColumnDescs AS DWORD _ , BYREF rgColumnDescs AS DWORD _ , BYVAL cConstraintDescs AS DWORD _ , BYVAL rgConstraintDescs AS DWORD _ , BYREF riid AS GUID _ , BYVAL cPropertySets AS DWORD _ , BYREF rgPropertySets AS DWORD _ , BYREF ppTableID AS DBID _ , BYREF ppRowset AS DWORD _ ) AS LONG
|
|
DropConstraint |
|
FUNCTION
ITableDefinitionWithConstraints_DropConstraint ( _ , BYREF pTableID AS DBID _ , BYREF pConstraintID AS DBID _ ) AS LONG
|
Page last updated on Wednesday, 15 February 2006 23:53:00 +0100