|
Gets the identifier of the database. |
|
|
VARIANT GetDataBaseID () |
|
|
Return value |
A VARIANT, subtype SafeArray (buffer of 16 bytes) containing the current database identifier. | | Remarks |
| If you want to update external Btrieve files in a transaction together with this file, you need to Call the BTRCALLID API function and pass this identifier as the last parameter. |
|
|
See Also |
|
CreatePOrderDet |
| 'Btrieve Function Parameters' and 'Begin Transaction' in the Actian Zen/Pervasive PSQL SDK documentation. |
|
|
|
Samples |
|
|
C++ |
|
// Do not forget to include 'afxdisp.h'
COleSafeArray osaTmp (pPOrderDet->GetDataBaseID ().Detach ());
BYTE* pDataBaseID;
osaTmp.AccessData ((void**)&pDataBaseID);
osaTmp.UnaccessData ();
|
|
|
C# |
|
byte[] aDataBaseID = new byte [16];
aDataBaseID = (byte[])oPOrderDet.GetDataBaseID ();
|
|
|
VBS |
|
Dim oID
oID = oPOrderDet.GetDataBaseID()
|
|
|
VB.NET |
|
Dim oID As Object
oID = oPOrderDet.GetDataBaseID()
|
|