Btrieve 2
Loading...
Searching...
No Matches
BtrieveFileInformation Class Reference

The Btrieve file information class. More...

#include <btrieveCpp.h>

Public Member Functions

 BtrieveFileInformation ()
 
 ~BtrieveFileInformation ()
 
int GetBalancedIndexes ()
 Get balanced indexes.
 
int GetClientTransactions ()
 Get client transactions.
 
int GetContinuousOperation ()
 Get continuous operation.
 
long long GetDuplicateRecordConflictCursorPosition ()
 Get the duplicate record conflict cursor position.
 
Btrieve::Index GetDuplicateRecordConflictIndex ()
 Get the duplicate record conflict index.
 
Btrieve::EncryptType GetEncryptionType ()
 Get the file encryption type.
 
int GetExplicitLocks ()
 Get explicit locks.
 
Btrieve::FileVersion GetFileVersion ()
 Get the file version.
 
int GetFixedRecordLength ()
 Get the fixed record length.
 
Btrieve::FreeSpaceThreshold GetFreeSpaceThreshold ()
 Get the free space threshold.
 
int GetGatewayMajorVersion ()
 Get the gateway major version.
 
int GetGatewayMinorVersion ()
 Get the gateway minor version.
 
const char * GetGatewayName ()
 Get the gateway name.
 
Btrieve::StatusCode GetGatewayName (char *name, int nameSize)
 Get the gateway name.
 
int GetGatewayPatchLevel ()
 Get the gateway patch level.
 
int GetGatewayPlatform ()
 Get the gateway platform.
 
int GetHandleCount ()
 Get the handle count.
 
int GetIdentifier ()
 Get the identifier.
 
int GetIndexCount ()
 Get the index count.
 
int GetKeyOnly ()
 Get key only.
 
Btrieve::StatusCode GetKeySegment (BtrieveKeySegment *btrieveKeySegment, int keySegmentNumber)
 Get a key segment.
 
Btrieve::StatusCode GetLastStatusCode ()
 Get the last status code.
 
int GetLockOwnerClientIdentifier ()
 Get the lock owner client identifier.
 
Btrieve::LockMode GetLockOwnerExplicitLockMode ()
 Get the lock owner explcit lock mode.
 
int GetLockOwnerFileLock ()
 Get lock owner file lock.
 
int GetLockOwnerImplicitLock ()
 Get lock owner implicit lock.
 
Btrieve::Index GetLockOwnerIndex ()
 Get the lock owner index.
 
const char * GetLockOwnerName ()
 Get the lock owner name.
 
Btrieve::StatusCode GetLockOwnerName (char *name, int nameSize)
 Get the lock owner name.
 
Btrieve::PageLockType GetLockOwnerPageLockType ()
 Get the lock owner page lock type.
 
int GetLockOwnerRecordLock ()
 Get lock owner record lock.
 
int GetLockOwnerSameProcess ()
 Get lock owner same process.
 
int GetLockOwnerServiceAgentIdentifier ()
 Get the lock owner service agent identifier.
 
int GetLockOwnerTimeInTransaction ()
 Get the lock owner time in transaction.
 
int GetLockOwnerTransactionLevel ()
 Get the lock owner transaction level.
 
int GetLockOwnerWriteHold ()
 Get lock owner write hold.
 
int GetLockOwnerWriteNoWait ()
 Get lock owner write no wait.
 
int GetLoggable ()
 Get loggable.
 
Btrieve::Index GetLogIndex ()
 Get the log index.
 
int GetOpenTimestamp ()
 Get the open timestamp.
 
Btrieve::OwnerMode GetOwnerMode ()
 Get the owner mode.
 
int GetPageCompression ()
 Get page compression.
 
int GetPagePreallocation ()
 Get page preallocation.
 
Btrieve::PageSize GetPageSize ()
 Get the page size.
 
int GetReadOnly ()
 Get read only.
 
Btrieve::RecordCompressionMode GetRecordCompressionMode ()
 Get the record compression mode.
 
long long GetRecordCount ()
 Get the record count.
 
int GetReferentialIntegrityConstraints ()
 Get referential integrity constraints.
 
long long GetReferentialIntegrityCursorPosition ()
 Get the referential integrity cursor position.
 
const char * GetReferentialIntegrityFileName ()
 Get the referential integrity file name.
 
Btrieve::StatusCode GetReferentialIntegrityFileName (char *name, int nameSize)
 Get the referential integrity file name.
 
int GetReferentialIntegrityOperationCode ()
 Get the referential integrity operation code.
 
int GetSecurityCurrentDatabaseAuthenticationByDatabase ()
 Get security current database authentication by database.
 
int GetSecurityCurrentDatabaseAuthorizationByDatabase ()
 Get security current database authorization by database.
 
int GetSecurityCurrentDatabaseBtpasswd ()
 Get security current database Btpasswd.
 
int GetSecurityCurrentDatabaseExplicit ()
 Get security current database explicit.
 
int GetSecurityCurrentDatabaseImplicit ()
 Get security current database implicit.
 
const char * GetSecurityCurrentDatabaseName ()
 Get the security current database name.
 
Btrieve::StatusCode GetSecurityCurrentDatabaseName (char *name, int nameSize)
 Get the security current database name.
 
int GetSecurityCurrentDatabasePAM ()
 Get security current database PAM (Pluggable Authentication Module).
 
int GetSecurityCurrentDatabaseRTSSComplete ()
 Get security current database RTSS (Runtime Server Support) complete.
 
int GetSecurityCurrentDatabaseRTSSDisabled ()
 Get security current database RTSS (Runtime Server Support) disabled.
 
int GetSecurityCurrentDatabaseRTSSPreauthorized ()
 Get security current database RTSS (Runtime Server Support) preauthorized.
 
int GetSecurityCurrentDatabaseTrusted ()
 Get security current database trusted.
 
int GetSecurityCurrentDatabaseWindowsNamedPipe ()
 Get security current database Windows named pipe.
 
int GetSecurityCurrentDatabaseWorkgroup ()
 Get security current database workgroup.
 
const char * GetSecurityCurrentUserName ()
 Get the security current user name.
 
Btrieve::StatusCode GetSecurityCurrentUserName (char *name, int nameSize)
 Get the security current user name.
 
int GetSecurityHandleAuthenticationByDatabase ()
 Get security handle authentication by database.
 
int GetSecurityHandleAuthorizationByDatabase ()
 Get security handle authorization by database.
 
int GetSecurityHandleBtpasswd ()
 Get security handle Btpasswd.
 
const char * GetSecurityHandleDatabaseName ()
 Get the security handle database name.
 
Btrieve::StatusCode GetSecurityHandleDatabaseName (char *name, int nameSize)
 Get the security handle database name.
 
int GetSecurityHandleExplicit ()
 Get security handle explicit.
 
int GetSecurityHandleImplicit ()
 Get security handle implicit.
 
int GetSecurityHandlePAM ()
 Get security handle PAM (Pluggable Authentication Module).
 
int GetSecurityHandleRTSSComplete ()
 Get security handle RTSS (Runtime Server Support) complete.
 
int GetSecurityHandleRTSSDisabled ()
 Get security handle RTSS (Runtime Server Support) disabled.
 
int GetSecurityHandleRTSSPreauthorized ()
 Get security handle RTSS (Runtime Server Support) preautorized.
 
const char * GetSecurityHandleTableName ()
 Get the security handle table name.
 
Btrieve::StatusCode GetSecurityHandleTableName (char *name, int nameSize)
 Get the security handle table name.
 
int GetSecurityHandleTrusted ()
 Get security handle trusted.
 
const char * GetSecurityHandleUserName ()
 Get the security handle user name.
 
Btrieve::StatusCode GetSecurityHandleUserName (char *name, int nameSize)
 Get the security handle user name.
 
int GetSecurityHandleWindowsNamedPipe ()
 Get security handle Windows named pipe.
 
int GetSecurityHandleWorkgroup ()
 Get security handle workgroup.
 
int GetSecurityPermissionAlter ()
 Get security permission alter.
 
int GetSecurityPermissionCreateFile ()
 Get security permission file create.
 
int GetSecurityPermissionCreateRecord ()
 Get security permission record create.
 
int GetSecurityPermissionCreateStoredProcedure ()
 Get security permission create stored procedure.
 
int GetSecurityPermissionCreateView ()
 Get security permission create view.
 
int GetSecurityPermissionDelete ()
 Get security permission delete.
 
int GetSecurityPermissionExecute ()
 Get security permission execute.
 
int GetSecurityPermissionNoRights ()
 Get security permission no rights.
 
int GetSecurityPermissionOpen ()
 Get security permission open.
 
int GetSecurityPermissionRead ()
 Get security permission read.
 
int GetSecurityPermissionRefer ()
 Get security permission refer.
 
int GetSecurityPermissionUpdate ()
 Get security permission update.
 
int GetSegmentCount ()
 Get the segment count.
 
int GetSegmented ()
 Get segmented.
 
const char * GetSegmentFileName (int segmentFileNumber)
 Get the segment file name.
 
Btrieve::StatusCode GetSegmentFileName (int segmentFileNumber, char *name, int nameSize)
 Get the segment file name.
 
int GetSystemData ()
 Get system data.
 
Btrieve::SystemDataMode GetSystemDataMode ()
 Get the system data mode.
 
int GetSystemIndex ()
 Get system index.
 
int GetSystemIndexSize ()
 Get the system index size.
 
int GetSystemIndexVersion ()
 Get the system index version.
 
int GetUnusedDuplicatePointerCount ()
 Get the unused duplicate pointer count.
 
int GetUnusedPageCount ()
 Get the unused page count.
 
int GetUsageCount ()
 Get the usage count.
 
Btrieve::VariableLengthRecordsMode GetVariableLengthRecordsMode ()
 Get the variable length records mode.
 
int GetWrongOwner ()
 Get wrong owner.
 

Detailed Description

The Btrieve file information class.

Examples
bfileattributes.cpp, and bfileinformation.cpp.

Constructor & Destructor Documentation

◆ BtrieveFileInformation()

BtrieveFileInformation::BtrieveFileInformation ( )
Snippet
C++ bfileinformation.cpp
BtrieveFileInformation btrieveFileInformation;
Python bfileinformation.py
btrieveFileInformation = btrievePython.BtrieveFileInformation()
assert(btrieveFileInformation != None)
See also
BtrieveFile::GetInformation

◆ ~BtrieveFileInformation()

BtrieveFileInformation::~BtrieveFileInformation ( )

Member Function Documentation

◆ GetBalancedIndexes()

int BtrieveFileInformation::GetBalancedIndexes ( )

Get balanced indexes.

Snippet
C++ bfileinformation.cpp
// If GetBalancedIndexes() fails.
if ((i = btrieveFileInformation.GetBalancedIndexes()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetBalancedIndexes():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("BalancedIndexes = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetBalancedIndexes()
assert(rc >= 0), "Error: BtrieveFileInformation::GetBalancedIndexes():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("BalancedIndexes =", "Yes" if rc > 0 else "No")
Return values
> 0Balanced indexes enabled.
0Balanced indexes disabled.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileattributes.cpp, and bfileinformation.cpp.

◆ GetClientTransactions()

int BtrieveFileInformation::GetClientTransactions ( )

Get client transactions.

Snippet
C++ bfileinformation.cpp
// If GetClientTransactions() fails.
if ((i = btrieveFileInformation.GetClientTransactions()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetClientTransactions():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("ClientTransactions = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetClientTransactions()
assert(rc >= 0), "Error: BtrieveFileInformation::GetClientTransactions():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("ClientTransactions =", "Yes" if rc > 0 else "No")
Return values
> 0Client transactions are active.
0Client transactions are not active.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetContinuousOperation()

int BtrieveFileInformation::GetContinuousOperation ( )

Get continuous operation.

Snippet
C++ bfileinformation.cpp
// If GetContinuousOperation() fails.
if ((i = btrieveFileInformation.GetContinuousOperation()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetContinuousOperation():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("ContinuousOperation = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetContinuousOperation()
assert(rc >= 0), "Error: BtrieveFileInformation::GetContinuousOperation():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("ContinuousOperation =", "Yes" if rc > 0 else "No")
Return values
> 0The file is in continuous operation.
0The file isn't in continuous operation.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetDuplicateRecordConflictCursorPosition()

long long BtrieveFileInformation::GetDuplicateRecordConflictCursorPosition ( )

Get the duplicate record conflict cursor position.

Note
The signature for this method changed in PSQL v13 R2.
Snippet
C++ bfileinformation.cpp
// If GetDuplicateRecordConflictCursorPosition() fails.
if ((cursorPosition = btrieveFileInformation.GetDuplicateRecordConflictCursorPosition()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetDuplicateRecordConflictCursorPosition():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("DuplicateRecordConflictCursorPosition = %lld\n", cursorPosition);
Python bfileinformation.py
rc = btrieveFileInformation.GetDuplicateRecordConflictCursorPosition()
assert(rc >= 0), "Error: BtrieveFileInformation::GetDuplicateRecordConflictCursorPosition():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("DuplicateRecordConflictCursorPosition =", rc)
Return values
>= 0The duplicate record conflict cursor position.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetDuplicateRecordConflictIndex()

Btrieve::Index BtrieveFileInformation::GetDuplicateRecordConflictIndex ( )

Get the duplicate record conflict index.

Snippet
C++ bfileinformation.cpp
// If GetDuplicateRecordConflictIndex() fails.
if ((btrieveIndex = btrieveFileInformation.GetDuplicateRecordConflictIndex()) == Btrieve::INDEX_UNKNOWN)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetDuplicateRecordConflictIndex():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("DuplicateRecordConflictIndex = %s\n", Btrieve::IndexToString(btrieveIndex));
Python bfileinformation.py
rc = btrieveFileInformation.GetDuplicateRecordConflictIndex()
assert(rc != btrievePython.Btrieve.INDEX_UNKNOWN), "Error: BtrieveFileInformation::GetDuplicateRecordConflictIndex():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("DuplicateRecordConflictIndex =", btrievePython.Btrieve_IndexToString(rc))
Return values
!= Btrieve::INDEX_UNKNOWNThe duplicate record conflict index.
= Btrieve::INDEX_UNKNOWNAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
See also
Btrieve::IndexToString
Examples
bfileinformation.cpp.

◆ GetEncryptionType()

Btrieve::EncryptType BtrieveFileInformation::GetEncryptionType ( )

Get the file encryption type.

Return values
!= Btrieve::ENCRYPT_TYPE_UNKNOWNThe owner mode.
= Btrieve::ENCRYPT_TYPE_UNKNOWNAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
See also
Btrieve::EncryptTypeToString

◆ GetExplicitLocks()

int BtrieveFileInformation::GetExplicitLocks ( )

Get explicit locks.

Snippet
C++ bfileinformation.cpp
// If GetExplicitLocks() fails.
if ((i = btrieveFileInformation.GetExplicitLocks()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetExplicitLocks():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("ExplicitLocks = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetExplicitLocks()
assert(rc >= 0), "Error: BtrieveFileInformation::GetExplicitLocks():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("ExplicitLocks =", "Yes" if rc > 0 else "No")
Return values
> 0Explicit locks are active.
0Explicit locks are not active.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetFileVersion()

Btrieve::FileVersion BtrieveFileInformation::GetFileVersion ( )

Get the file version.

Snippet
C++ bfileinformation.cpp
// If GetFileVersion() fails.
if ((btrieveFileVersion = btrieveFileInformation.GetFileVersion()) == Btrieve::FILE_VERSION_UNKNOWN)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetFileVersion():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("FileVersion = %s\n", Btrieve::FileVersionToString(btrieveFileVersion));
Python bfileinformation.py
rc = btrieveFileInformation.GetFileVersion()
assert(rc != btrievePython.Btrieve.FILE_VERSION_UNKNOWN), "Error: BtrieveFileInformation::GetFileVersion():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("DuplicateRecordConflictIndex =", btrievePython.Btrieve_FileVersionToString(rc))
Return values
!= Btrieve::FILE_VERSION_UNKNOWNThe file version.
= Btrieve::FILE_VERSION_UNKNOWNAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
See also
Btrieve::FileVersionToString
Examples
bfileattributes.cpp, and bfileinformation.cpp.

◆ GetFixedRecordLength()

int BtrieveFileInformation::GetFixedRecordLength ( )

Get the fixed record length.

Snippet
C++ bfileinformation.cpp
// If GetFixedRecordLength() fails.
if ((i = btrieveFileInformation.GetFixedRecordLength()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetFixedRecordLength():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("FixedRecordLength = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetFixedRecordLength()
assert(rc >= 0), "Error: BtrieveFileInformation::GetFixedRecordLength():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("FixedRecordLength =", rc)
Return values
>= 0The fixed record length.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileattributes.cpp, and bfileinformation.cpp.

◆ GetFreeSpaceThreshold()

Btrieve::FreeSpaceThreshold BtrieveFileInformation::GetFreeSpaceThreshold ( )

Get the free space threshold.

Snippet
C++ bfileinformation.cpp
// If GetFreeSpaceThreshold() fails.
if ((btrieveFreeSpaceThreshold = btrieveFileInformation.GetFreeSpaceThreshold()) == Btrieve::FREE_SPACE_THRESHOLD_UNKNOWN)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetFreeSpaceThreshold():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("FreeSpaceThreshold = %s\n", Btrieve::FreeSpaceThresholdToString(btrieveFreeSpaceThreshold));
Python bfileinformation.py
rc = btrieveFileInformation.GetFreeSpaceThreshold()
assert(rc != btrievePython.Btrieve.FREE_SPACE_THRESHOLD_UNKNOWN), "Error: BtrieveFileInformation::GetFreeSpaceThreshold():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("FreeSpaceThreshold =", btrievePython.Btrieve_FreeSpaceThresholdToString(rc))
Return values
!= Btrieve::FREE_SPACE_THRESHOLD_UNKNOWNThe free space threshold.
= Btrieve::FREE_SPACE_THRESHOLD_UNKNOWNAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
See also
Btrieve::FreeSpaceThresholdToString
Examples
bfileattributes.cpp, and bfileinformation.cpp.

◆ GetGatewayMajorVersion()

int BtrieveFileInformation::GetGatewayMajorVersion ( )

Get the gateway major version.

Snippet
C++ bfileinformation.cpp
// If GetGatewayMajorVersion() fails.
if ((i = btrieveFileInformation.GetGatewayMajorVersion()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetGatewayMajorVersion():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("GatewayMajorVersion = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetGatewayMajorVersion()
assert(rc >= 0), "Error: BtrieveFileInformation::GetGatewayMajorVersion():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("GatewayMajorVersion =", rc)
Return values
>= 0The gateway major version.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetGatewayMinorVersion()

int BtrieveFileInformation::GetGatewayMinorVersion ( )

Get the gateway minor version.

Snippet
C++ bfileinformation.cpp
// If GetGatewayMinorVersion() fails.
if ((i = btrieveFileInformation.GetGatewayMinorVersion()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetGatewayMinorVersion():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("GatewayMinorVersion = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetGatewayMinorVersion()
assert(rc >= 0), "Error: BtrieveFileInformation::GetGatewayMinorVersion():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("GatewayMinorVersion =", rc)
Return values
>= 0The gateway minor version.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetGatewayName() [1/2]

const char * BtrieveFileInformation::GetGatewayName ( )

Get the gateway name.

Note
This method is not thread safe. The string returned will be overwritten on subsequent calls.
Snippet
C++ bfileinformation.cpp
// If GetGatewayName() fails.
if ((c = btrieveFileInformation.GetGatewayName()) == NULL)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetGatewayName():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("GatewayName = %s\n", c);
Python bfileinformation.py
rc = btrieveFileInformation.GetGatewayName()
assert(rc != None), "Error: BtrieveFileInformation::GetGatewayName():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("GatewayName =", rc)
Return values
!= NULLThe name.
NULLAn error has occurred.
Examples
bfileinformation.cpp.

◆ GetGatewayName() [2/2]

Btrieve::StatusCode BtrieveFileInformation::GetGatewayName ( char * name,
int nameSize )

Get the gateway name.

Note
This method is available only in C++.
Parameters
[out]nameThe name.
[in]nameSizeThe name size.
Return values
= Btrieve::STATUS_CODE_NO_ERRORSuccess.
!= Btrieve::STATUS_CODE_NO_ERRORAn error has occurred.
See also
Btrieve::StatusCodeToString

◆ GetGatewayPatchLevel()

int BtrieveFileInformation::GetGatewayPatchLevel ( )

Get the gateway patch level.

Snippet
C++ bfileinformation.cpp
// If GetGatewayPatchLevel() fails.
if ((i = btrieveFileInformation.GetGatewayPatchLevel()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetGatewayPatchLevel():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("GatewayPatchLevel = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetGatewayPatchLevel()
assert(rc >= 0), "Error: BtrieveFileInformation::GetGatewayPatchLevel():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("GatewayPatchLevel =", rc)
Return values
>= 0The gateway patch version.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetGatewayPlatform()

int BtrieveFileInformation::GetGatewayPlatform ( )

Get the gateway platform.

Snippet
C++ bfileinformation.cpp
// If GetGatewayPlatform() fails.
if ((i = btrieveFileInformation.GetGatewayPlatform()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetGatewayPlatform():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("GatewayPlatform = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetGatewayPlatform()
assert(rc >= 0), "Error: BtrieveFileInformation::GetGatewayPlatform():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("GatewayPlatform =", rc)
Return values
>= 0The gateway platform.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetHandleCount()

int BtrieveFileInformation::GetHandleCount ( )

Get the handle count.

Snippet
C++ bfileinformation.cpp
// If GetHandleCount() fails.
if ((i = btrieveFileInformation.GetHandleCount()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetHandleCount():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("HandleCount = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetHandleCount()
assert(rc >= 0), "Error: BtrieveFileInformation::GetHandleCount():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("HandleCount =", rc)
Return values
>= 0The handle count.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetIdentifier()

int BtrieveFileInformation::GetIdentifier ( )

Get the identifier.

Snippet
C++ bfileinformation.cpp
// If GetIdentifier() fails.
if ((i = btrieveFileInformation.GetIdentifier()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetIdentifier():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("Identifier = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetIdentifier()
assert(rc >= 0), "Error: BtrieveFileInformation::GetIdentifier():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("Identifier =", rc)
Return values
>= 0The identifier.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetIndexCount()

int BtrieveFileInformation::GetIndexCount ( )

Get the index count.

Snippet
C++ bfileinformation.cpp
// If GetIndexCount() fails.
if ((indexCount = btrieveFileInformation.GetIndexCount()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetIndexCount():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("IndexCount = %d\n", indexCount);
Python bfileinformation.py
rc = btrieveFileInformation.GetIndexCount()
assert(rc >= 0), "Error: BtrieveFileInformation::GetIndexCount():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("IndexCount =", rc)
Return values
>= 0The index count.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetKeyOnly()

int BtrieveFileInformation::GetKeyOnly ( )

Get key only.

Snippet
C++ bfileinformation.cpp
// If GetKeyOnly() fails.
if ((i = btrieveFileInformation.GetKeyOnly()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetKeyOnly():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("KeyOnly = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetKeyOnly()
assert(rc >= 0), "Error: BtrieveFileInformation::GetKeyOnly():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("KeyOnly =", "Yes" if rc > 0 else "No")
Return values
> 0File is key only.
0File isn't key only.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetKeySegment()

Btrieve::StatusCode BtrieveFileInformation::GetKeySegment ( BtrieveKeySegment * btrieveKeySegment,
int keySegmentNumber )

Get a key segment.

Parameters
[in]btrieveKeySegmentThe key segment.
[in]keySegmentNumberThe key segment number. The number is one-based.
Snippet
C++ bfileinformation.cpp
// If GetKeySegment() fails.
if ((status = btrieveFileInformation.GetKeySegment(&btrieveKeySegment, keySegmentNumber)) != Btrieve::STATUS_CODE_NO_ERROR)
{
printf("Error: BtrieveFileInformation::GetKeySegment():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
Python bfileinformation.py
rc = btrieveFileInformation.GetKeySegment(btrieveKeySegment, keySegmentNumber)
assert(rc == btrievePython.Btrieve.STATUS_CODE_NO_ERROR), "Error: BtrieveFileInformation::GetKeySegment():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(rc))
Return values
= Btrieve::STATUS_CODE_NO_ERRORSuccess.
!= Btrieve::STATUS_CODE_NO_ERRORAn error has occurred.
See also
Btrieve::StatusCodeToString
Examples
bfileinformation.cpp.

◆ GetLastStatusCode()

Btrieve::StatusCode BtrieveFileInformation::GetLastStatusCode ( )

Get the last status code.

Note
This method is intended for use following methods which don't return a status code.
Snippet
C++ bfileinformation.cpp
// If GetBalancedIndexes() fails.
if ((i = btrieveFileInformation.GetBalancedIndexes()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetBalancedIndexes():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("BalancedIndexes = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetBalancedIndexes()
assert(rc >= 0), "Error: BtrieveFileInformation::GetBalancedIndexes():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("BalancedIndexes =", "Yes" if rc > 0 else "No")
Return values
= Btrieve::STATUS_CODE_NO_ERRORSuccess.
!= Btrieve::STATUS_CODE_NO_ERRORAn error has occurred.
See also
Btrieve::StatusCodeToString
Examples
bfileattributes.cpp, and bfileinformation.cpp.

◆ GetLockOwnerClientIdentifier()

int BtrieveFileInformation::GetLockOwnerClientIdentifier ( )

Get the lock owner client identifier.

Snippet
C++ bfileinformation.cpp
// If GetLockOwnerClientIdentifier() fails.
if ((i = btrieveFileInformation.GetLockOwnerClientIdentifier()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerClientIdentifier():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerClientIdentifier = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerClientIdentifier()
assert(rc >= 0), "Error: BtrieveFileInformation::GetLockOwnerClientIdentifier():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerClientIdentifier =", rc)
Return values
>= 0The lock owner client identifier.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetLockOwnerExplicitLockMode()

Btrieve::LockMode BtrieveFileInformation::GetLockOwnerExplicitLockMode ( )

Get the lock owner explcit lock mode.

Snippet
C++ bfileinformation.cpp
// If GetLockOwnerExplicitLockMode() fails.
if ((btrieveLockMode = btrieveFileInformation.GetLockOwnerExplicitLockMode()) == Btrieve::LOCK_MODE_UNKNOWN)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerExplicitLockMode():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerExplicitLockMode = %s\n", Btrieve::LockModeToString(btrieveLockMode));
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerExplicitLockMode()
assert(rc != btrievePython.Btrieve.LOCK_MODE_UNKNOWN), "Error: BtrieveFileInformation::GetLockOwnerExplicitLockMode():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerExplicitLockMode =", btrievePython.Btrieve_LockModeToString(rc))
Return values
!= Btrieve::LOCK_MODE_UNKNOWNThe lock owner explcit lock mode.
= Btrieve::LOCK_MODE_UNKNOWNAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
See also
Btrieve::LockModeToString
Examples
bfileinformation.cpp.

◆ GetLockOwnerFileLock()

int BtrieveFileInformation::GetLockOwnerFileLock ( )

Get lock owner file lock.

Snippet
C++ bfileinformation.cpp
// If GetLockOwnerFileLock() fails.
if ((i = btrieveFileInformation.GetLockOwnerFileLock()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerFileLock():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerFileLock = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerFileLock()
assert(rc >= 0), "Error: BtrieveFileInformation::GetLockOwnerFileLock():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerFileLock =", "Yes" if rc > 0 else "No")
Return values
> 0The lock owner has a file lock.
0The lock owner doesn't have a file lock.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetLockOwnerImplicitLock()

int BtrieveFileInformation::GetLockOwnerImplicitLock ( )

Get lock owner implicit lock.

Snippet
C++ bfileinformation.cpp
// If GetLockOwnerImplicitLock() fails.
if ((i = btrieveFileInformation.GetLockOwnerImplicitLock()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerImplicitLock():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerImplicitLock = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerImplicitLock()
assert(rc >= 0), "Error: BtrieveFileInformation::GetLockOwnerImplicitLock():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerImplicitLock =", "Yes" if rc > 0 else "No")
Return values
> 0The lock owner has an implicit lock.
0The lock owner doesn't have an implicit lock.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetLockOwnerIndex()

Btrieve::Index BtrieveFileInformation::GetLockOwnerIndex ( )

Get the lock owner index.

Snippet
C++ bfileinformation.cpp
// If GetLockOwnerIndex() fails.
if ((btrieveIndex = btrieveFileInformation.GetLockOwnerIndex()) == Btrieve::INDEX_UNKNOWN)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerIndex():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerIndex = %s\n", Btrieve::IndexToString(btrieveIndex));
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerIndex()
assert(rc != btrievePython.Btrieve.INDEX_UNKNOWN), "Error: BtrieveFileInformation::GetLockOwnerIndex():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerIndex =", btrievePython.Btrieve_IndexToString(rc))
Return values
!= Btrieve::INDEX_UNKNOWNThe lock owner index.
= Btrieve::INDEX_UNKNOWNAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
See also
Btrieve::IndexToString
Examples
bfileinformation.cpp.

◆ GetLockOwnerName() [1/2]

const char * BtrieveFileInformation::GetLockOwnerName ( )

Get the lock owner name.

Note
This method is not thread safe. The string returned will be overwritten on subsequent calls.
Snippet
C++ bfileinformation.cpp
// If GetLockOwnerName() fails.
if ((c = btrieveFileInformation.GetLockOwnerName()) == NULL)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerName():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerName = %s\n", c);
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerName()
assert(rc != None), "Error: BtrieveFileInformation::GetLockOwnerName():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerName =", rc)
Return values
!= NULLThe name.
NULLAn error has occurred.
Examples
bfileinformation.cpp.

◆ GetLockOwnerName() [2/2]

Btrieve::StatusCode BtrieveFileInformation::GetLockOwnerName ( char * name,
int nameSize )

Get the lock owner name.

Note
This method is available only in C++.
Parameters
[out]nameThe name.
[in]nameSizeThe name size.
Return values
= Btrieve::STATUS_CODE_NO_ERRORSuccess.
!= Btrieve::STATUS_CODE_NO_ERRORAn error has occurred.
See also
Btrieve::StatusCodeToString

◆ GetLockOwnerPageLockType()

Btrieve::PageLockType BtrieveFileInformation::GetLockOwnerPageLockType ( )

Get the lock owner page lock type.

Snippet
C++ bfileinformation.cpp
// If GetLockOwnerPageLockType() fails.
if ((btrievePageLockType = btrieveFileInformation.GetLockOwnerPageLockType()) == Btrieve::PAGE_LOCK_TYPE_UNKNOWN)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerPageLockType():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerPageLockType = %s\n", Btrieve::PageLockTypeToString(btrievePageLockType));
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerPageLockType()
assert(rc != btrievePython.Btrieve.PAGE_LOCK_TYPE_UNKNOWN), "Error: BtrieveFileInformation::GetLockOwnerPageLockType():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerPageLockType =", btrievePython.Btrieve_PageLockTypeToString(rc))
Return values
!= Btrieve::PAGE_LOCK_TYPE_UNKNOWNThe lock owner page lock type.
= Btrieve::PAGE_LOCK_TYPE_UNKNOWNAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
See also
Btrieve::PageLockTypeToString
Examples
bfileinformation.cpp.

◆ GetLockOwnerRecordLock()

int BtrieveFileInformation::GetLockOwnerRecordLock ( )

Get lock owner record lock.

Snippet
C++ bfileinformation.cpp
// If GetLockOwnerRecordLock() fails.
if ((i = btrieveFileInformation.GetLockOwnerRecordLock()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerRecordLock():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerRecordLock = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerRecordLock()
assert(rc >= 0), "Error: BtrieveFileInformation::GetLockOwnerRecordLock():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerRecordLock =", "Yes" if rc > 0 else "No")
Return values
> 0The lock owner has a record lock.
0The lock owner doesn't have a record lock.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetLockOwnerSameProcess()

int BtrieveFileInformation::GetLockOwnerSameProcess ( )

Get lock owner same process.

Snippet
C++ bfileinformation.cpp
// If GetLockOwnerSameProcess() fails.
if ((i = btrieveFileInformation.GetLockOwnerSameProcess()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerSameProcess():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerSameProcess = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerSameProcess()
assert(rc >= 0), "Error: BtrieveFileInformation::GetLockOwnerSameProcess():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerSameProcess =", "Yes" if rc > 0 else "No")
Return values
> 0The lock owner is the same process.
0The lock owner isn't the same process.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetLockOwnerServiceAgentIdentifier()

int BtrieveFileInformation::GetLockOwnerServiceAgentIdentifier ( )

Get the lock owner service agent identifier.

Snippet
C++ bfileinformation.cpp
// If GetLockOwnerServiceAgentIdentifier() fails.
if ((i = btrieveFileInformation.GetLockOwnerServiceAgentIdentifier()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerServiceAgentIdentifier():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerServiceAgentIdentifier = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerServiceAgentIdentifier()
assert(rc >= 0), "Error: BtrieveFileInformation::GetLockOwnerServiceAgentIdentifier():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerServiceAgentIdentifier =", rc)
Return values
>= 0The lock owner service agent identifier.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetLockOwnerTimeInTransaction()

int BtrieveFileInformation::GetLockOwnerTimeInTransaction ( )

Get the lock owner time in transaction.

Snippet
C++ bfileinformation.cpp
// If GetLockOwnerTimeInTransaction() fails.
if ((i = btrieveFileInformation.GetLockOwnerTimeInTransaction()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerTimeInTransaction():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerTimeInTransaction = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerTimeInTransaction()
assert(rc >= 0), "Error: BtrieveFileInformation::GetLockOwnerTimeInTransaction():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerTimeInTransaction =", rc)
Return values
>= 0The lock owner time in transaction.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetLockOwnerTransactionLevel()

int BtrieveFileInformation::GetLockOwnerTransactionLevel ( )

Get the lock owner transaction level.

Snippet
C++ bfileinformation.cpp
// If GetLockOwnerTransactionLevel() fails.
if ((i = btrieveFileInformation.GetLockOwnerTransactionLevel()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerTransactionLevel():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerTransactionLevel = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerTransactionLevel()
assert(rc >= 0), "Error: BtrieveFileInformation::GetLockOwnerTransactionLevel():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerTransactionLevel =", rc)
Return values
>= 0The lock owner transaction level.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetLockOwnerWriteHold()

int BtrieveFileInformation::GetLockOwnerWriteHold ( )

Get lock owner write hold.

Snippet
C++ bfileinformation.cpp
// If GetLockOwnerWriteHold() fails.
if ((i = btrieveFileInformation.GetLockOwnerWriteHold()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerWriteHold():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerWriteHold = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerWriteHold()
assert(rc >= 0), "Error: BtrieveFileInformation::GetLockOwnerWriteHold():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerWriteHold =", "Yes" if rc > 0 else "No")
Return values
> 0The lock owner has a write hold.
0The lock owner doesn't have a write hold.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetLockOwnerWriteNoWait()

int BtrieveFileInformation::GetLockOwnerWriteNoWait ( )

Get lock owner write no wait.

Snippet
C++ bfileinformation.cpp
// If GetLockOwnerWriteNoWait() fails.
if ((i = btrieveFileInformation.GetLockOwnerWriteNoWait()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLockOwnerWriteNoWait():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LockOwnerWriteNoWait = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetLockOwnerWriteNoWait()
assert(rc >= 0), "Error: BtrieveFileInformation::GetLockOwnerWriteNoWait():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LockOwnerWriteNoWait =", "Yes" if rc > 0 else "No")
Return values
> 0The lock owner is performing a write with no wait.
0The lock owner isn't performing a write with no wait.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetLoggable()

int BtrieveFileInformation::GetLoggable ( )

Get loggable.

Snippet
C++ bfileinformation.cpp
// If GetLoggable() fails.
if ((i = btrieveFileInformation.GetLoggable()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLoggable():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("Loggable = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetLoggable()
assert(rc >= 0), "Error: BtrieveFileInformation::GetLoggable():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("Loggable =", "Yes" if rc > 0 else "No")
Return values
> 0File is loggable.
0File isn't loggable.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetLogIndex()

Btrieve::Index BtrieveFileInformation::GetLogIndex ( )

Get the log index.

Snippet
C++ bfileinformation.cpp
// If GetLogIndex() fails.
if ((btrieveIndex = btrieveFileInformation.GetLogIndex()) == Btrieve::INDEX_UNKNOWN)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetLogIndex():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("LogIndex = %s\n", Btrieve::IndexToString(btrieveIndex));
Python bfileinformation.py
rc = btrieveFileInformation.GetLogIndex()
assert(rc != btrievePython.Btrieve.INDEX_UNKNOWN), "Error: BtrieveFileInformation::GetLogIndex():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("LogIndex =", btrievePython.Btrieve_IndexToString(rc))
Return values
!= Btrieve::INDEX_UNKNOWNThe index.
= Btrieve::INDEX_UNKNOWNAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
See also
Btrieve::IndexToString
Examples
bfileinformation.cpp.

◆ GetOpenTimestamp()

int BtrieveFileInformation::GetOpenTimestamp ( )

Get the open timestamp.

Snippet
C++ bfileinformation.cpp
// If GetOpenTimestamp() fails.
if ((i = btrieveFileInformation.GetOpenTimestamp()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetOpenTimestamp():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("OpenTimestamp = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetOpenTimestamp()
assert(rc >= 0), "Error: BtrieveFileInformation::GetOpenTimestamp():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("OpenTimestamp =", rc)
Return values
>= 0The open timestamp.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetOwnerMode()

Btrieve::OwnerMode BtrieveFileInformation::GetOwnerMode ( )

Get the owner mode.

Snippet
C++ bfileinformation.cpp
// If GetOwnerMode() fails.
if ((btrieveOwnerMode = btrieveFileInformation.GetOwnerMode()) == Btrieve::OWNER_MODE_UNKNOWN)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetOwnerMode():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("OwnerMode = %s\n", Btrieve::OwnerModeToString(btrieveOwnerMode));
Python bfileinformation.py
rc = btrieveFileInformation.GetOwnerMode()
assert(rc != btrievePython.Btrieve.OWNER_MODE_UNKNOWN), "Error: BtrieveFileInformation::GetOwnerMode():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("OwnerMode =", btrievePython.Btrieve_OwnerModeToString(rc))
Return values
!= Btrieve::OWNER_MODE_UNKNOWNThe owner mode.
= Btrieve::OWNER_MODE_UNKNOWNAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
See also
Btrieve::OwnerModeToString
Examples
bfileinformation.cpp.

◆ GetPageCompression()

int BtrieveFileInformation::GetPageCompression ( )

Get page compression.

Snippet
C++ bfileinformation.cpp
// If GetPageCompression() fails.
if ((i = btrieveFileInformation.GetPageCompression()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetPageCompression():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("PageCompression = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetPageCompression()
assert(rc >= 0), "Error: BtrieveFileInformation::GetPageCompression():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("PageCompression =", "Yes" if rc > 0 else "No")
Return values
> 0Page compression enabled.
0Page compression disabled.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileattributes.cpp, and bfileinformation.cpp.

◆ GetPagePreallocation()

int BtrieveFileInformation::GetPagePreallocation ( )

Get page preallocation.

Snippet
C++ bfileinformation.cpp
// If GetPagePreallocation() fails.
if ((i = btrieveFileInformation.GetPagePreallocation()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetPagePreallocation():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("PagePreallocation = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetPagePreallocation()
assert(rc >= 0), "Error: BtrieveFileInformation::GetPagePreallocation():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("PagePreallocation =", "Yes" if rc > 0 else "No")
Return values
> 0Page preallocation enabled.
0Page preallocation disabled.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileattributes.cpp, and bfileinformation.cpp.

◆ GetPageSize()

Btrieve::PageSize BtrieveFileInformation::GetPageSize ( )

Get the page size.

Snippet
C++ bfileinformation.cpp
// If GetPageSize() fails.
if ((btrievePageSize = btrieveFileInformation.GetPageSize()) == Btrieve::PAGE_SIZE_UNKNOWN)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetPageSize():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("PageSize = %s\n", Btrieve::PageSizeToString(btrievePageSize));
Python bfileinformation.py
rc = btrieveFileInformation.GetPageSize()
assert(rc != btrievePython.Btrieve.PAGE_SIZE_UNKNOWN), "Error: BtrieveFileInformation::GetPageSize():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("PageSize =", btrievePython.Btrieve_PageSizeToString(rc))
Return values
!= Btrieve::PAGE_SIZE_UNKNOWNThe page size.
= Btrieve::PAGE_SIZE_UNKNOWNAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
See also
Btrieve::PageSizeToString
Examples
bfileattributes.cpp, and bfileinformation.cpp.

◆ GetReadOnly()

int BtrieveFileInformation::GetReadOnly ( )

Get read only.

Snippet
C++ bfileinformation.cpp
// If GetReadOnly() fails.
if ((i = btrieveFileInformation.GetReadOnly()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetReadOnly():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("ReadOnly = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetReadOnly()
assert(rc >= 0), "Error: BtrieveFileInformation::GetReadOnly():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("ReadOnly =", "Yes" if rc > 0 else "No")
Return values
> 0The file is opened read only.
0The file isn't opened read only.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetRecordCompressionMode()

Btrieve::RecordCompressionMode BtrieveFileInformation::GetRecordCompressionMode ( )

Get the record compression mode.

Snippet
C++ bfileinformation.cpp
// If GetRecordCompressionMode() fails.
if ((btrieveRecordCompressionMode = btrieveFileInformation.GetRecordCompressionMode()) == Btrieve::RECORD_COMPRESSION_MODE_UNKNOWN)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetRecordCompressionMode():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("RecordCompressionMode = %s\n", Btrieve::RecordCompressionModeToString(btrieveRecordCompressionMode));
Python bfileinformation.py
rc = btrieveFileInformation.GetRecordCompressionMode()
assert(rc != btrievePython.Btrieve.RECORD_COMPRESSION_MODE_UNKNOWN), "Error: BtrieveFileInformation::GetRecordCompressionMode():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("RecordCompressionMode =", btrievePython.Btrieve_RecordCompressionModeToString(rc))
Return values
!= Btrieve::RECORD_COMPRESSION_MODE_UNKNOWNSuccess.
= Btrieve::RECORD_COMPRESSION_MODE_UNKNOWNAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
See also
Btrieve::RecordCompressionModeToString
Examples
bfileattributes.cpp, and bfileinformation.cpp.

◆ GetRecordCount()

long long BtrieveFileInformation::GetRecordCount ( )

Get the record count.

Note
The signature for this method changed in PSQL v13 R2.
Snippet
C++ bfileinformation.cpp
// If GetRecordCount() fails.
if ((recordCount = btrieveFileInformation.GetRecordCount()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetRecordCount():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("RecordCount = %lld\n", recordCount);
Python bfileinformation.py
rc = btrieveFileInformation.GetRecordCount()
assert(rc >= 0), "Error: BtrieveFileInformation::GetRecordCount():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("RecordCount =", rc)
Return values
>= 0The record count.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetReferentialIntegrityConstraints()

int BtrieveFileInformation::GetReferentialIntegrityConstraints ( )

Get referential integrity constraints.

Snippet
C++ bfileinformation.cpp
// If GetReferentialIntegrityConstraints() fails.
if ((i = btrieveFileInformation.GetReferentialIntegrityConstraints()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetReferentialIntegrityConstraints():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("ReferentialIntegrityConstraints = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetReferentialIntegrityConstraints()
assert(rc >= 0), "Error: BtrieveFileInformation::GetReferentialIntegrityConstraints():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("ReferentialIntegrityConstraints =", "Yes" if rc > 0 else "No")
Return values
> 0The file has referential integrity constraints.
0The file doesn't have referential integrity constraints.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetReferentialIntegrityCursorPosition()

long long BtrieveFileInformation::GetReferentialIntegrityCursorPosition ( )

Get the referential integrity cursor position.

Note
The signature for this method changed in PSQL v13 R2.
Snippet
C++ bfileinformation.cpp
// If GetReferentialIntegrityCursorPosition() fails.
if ((cursorPosition = btrieveFileInformation.GetReferentialIntegrityCursorPosition()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetReferentialIntegrityCursorPosition():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("ReferentialIntegrityCursorPosition = %lld\n", cursorPosition);
Python bfileinformation.py
rc = btrieveFileInformation.GetReferentialIntegrityCursorPosition()
assert(rc >= 0), "Error: BtrieveFileInformation::GetReferentialIntegrityCursorPosition():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("ReferentialIntegrityCursorPosition =", rc)
Return values
>= 0The cursor position.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetReferentialIntegrityFileName() [1/2]

const char * BtrieveFileInformation::GetReferentialIntegrityFileName ( )

Get the referential integrity file name.

Note
This method is not thread safe. The string returned will be overwritten on subsequent calls.
Snippet
C++ bfileinformation.cpp
// If GetReferentialIntegrityFileName() fails.
if ((c = btrieveFileInformation.GetReferentialIntegrityFileName()) == NULL)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetReferentialIntegrityFileName():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("ReferentialIntegrityFileName = %s\n", c);
Python bfileinformation.py
rc = btrieveFileInformation.GetReferentialIntegrityFileName()
assert(rc != None), "Error: BtrieveFileInformation::GetReferentialIntegrityFileName():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("ReferentialIntegrityFileName =", rc)
Return values
!= NULLThe name.
NULLAn error has occurred.
Examples
bfileinformation.cpp.

◆ GetReferentialIntegrityFileName() [2/2]

Btrieve::StatusCode BtrieveFileInformation::GetReferentialIntegrityFileName ( char * name,
int nameSize )

Get the referential integrity file name.

Note
This method is available only in C++.
Parameters
[out]nameThe name.
[in]nameSizeThe name size.
Return values
= Btrieve::STATUS_CODE_NO_ERRORSuccess.
!= Btrieve::STATUS_CODE_NO_ERRORAn error has occurred.
See also
Btrieve::StatusCodeToString

◆ GetReferentialIntegrityOperationCode()

int BtrieveFileInformation::GetReferentialIntegrityOperationCode ( )

Get the referential integrity operation code.

Snippet
C++ bfileinformation.cpp
// If GetReferentialIntegrityOperationCode() fails.
if ((i = btrieveFileInformation.GetReferentialIntegrityOperationCode()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetReferentialIntegrityOperationCode():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("ReferentialIntegrityOperationCode = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetReferentialIntegrityOperationCode()
assert(rc >= 0), "Error: BtrieveFileInformation::GetReferentialIntegrityOperationCode():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("ReferentialIntegrityOperationCode =", rc)
Return values
>= 0The operation code.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentDatabaseAuthenticationByDatabase()

int BtrieveFileInformation::GetSecurityCurrentDatabaseAuthenticationByDatabase ( )

Get security current database authentication by database.

Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentDatabaseAuthenticationByDatabase() fails.
if ((i = btrieveFileInformation.GetSecurityCurrentDatabaseAuthenticationByDatabase()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentDatabaseAuthenticationByDatabase():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentDatabaseAuthenticationByDatabase = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentDatabaseAuthenticationByDatabase()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityCurrentDatabaseAuthenticationByDatabase():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentDatabaseAuthenticationByDatabase =", "Yes" if rc > 0 else "No")
Return values
> 0Security current database authentication by database.
0Security current database not authentication by database.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentDatabaseAuthorizationByDatabase()

int BtrieveFileInformation::GetSecurityCurrentDatabaseAuthorizationByDatabase ( )

Get security current database authorization by database.

Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentDatabaseAuthorizationByDatabase() fails.
if ((i = btrieveFileInformation.GetSecurityCurrentDatabaseAuthorizationByDatabase()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentDatabaseAuthorizationByDatabase():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentDatabaseAuthorizationByDatabase = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentDatabaseAuthorizationByDatabase()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityCurrentDatabaseAuthorizationByDatabase():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentDatabaseAuthorizationByDatabase =", "Yes" if rc > 0 else "No")
Return values
> 0Security current database authorization by database.
0Security current database not authorization by database.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentDatabaseBtpasswd()

int BtrieveFileInformation::GetSecurityCurrentDatabaseBtpasswd ( )

Get security current database Btpasswd.

Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentDatabaseBtpasswd() fails.
if ((i = btrieveFileInformation.GetSecurityCurrentDatabaseBtpasswd()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentDatabaseBtpasswd():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentDatabaseBtpasswd = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentDatabaseBtpasswd()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityCurrentDatabaseBtpasswd():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentDatabaseBtpasswd =", "Yes" if rc > 0 else "No")
Return values
> 0Security current database Btpasswd.
0Security current database not Btpasswd.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentDatabaseExplicit()

int BtrieveFileInformation::GetSecurityCurrentDatabaseExplicit ( )

Get security current database explicit.

Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentDatabaseExplicit() fails.
if ((i = btrieveFileInformation.GetSecurityCurrentDatabaseExplicit()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentDatabaseExplicit():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentDatabaseExplicit = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentDatabaseExplicit()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityCurrentDatabaseExplicit():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentDatabaseExplicit =", "Yes" if rc > 0 else "No")
Return values
> 0Security current database explicit.
0Security current database not explicit.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentDatabaseImplicit()

int BtrieveFileInformation::GetSecurityCurrentDatabaseImplicit ( )

Get security current database implicit.

Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentDatabaseImplicit() fails.
if ((i = btrieveFileInformation.GetSecurityCurrentDatabaseImplicit()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentDatabaseImplicit():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentDatabaseImplicit = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentDatabaseImplicit()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityCurrentDatabaseImplicit():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentDatabaseImplicit =", "Yes" if rc > 0 else "No")
Return values
> 0Security current database implicit.
0Security current database not implicit.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentDatabaseName() [1/2]

const char * BtrieveFileInformation::GetSecurityCurrentDatabaseName ( )

Get the security current database name.

Note
This method is not thread safe. The string returned will be overwritten on subsequent calls.
Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentDatabaseName() fails.
if ((c = btrieveFileInformation.GetSecurityCurrentDatabaseName()) == NULL)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentDatabaseName():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentDatabaseName = %s\n", c);
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentDatabaseName()
assert(rc != None), "Error: BtrieveFileInformation::GetSecurityCurrentDatabaseName():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentDatabaseName =", rc)
Return values
!= NULLThe name.
NULLAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentDatabaseName() [2/2]

Btrieve::StatusCode BtrieveFileInformation::GetSecurityCurrentDatabaseName ( char * name,
int nameSize )

Get the security current database name.

Note
This method is available only in C++.
Parameters
[out]nameThe name.
[in]nameSizeThe name size.
Return values
= Btrieve::STATUS_CODE_NO_ERRORSuccess.
!= Btrieve::STATUS_CODE_NO_ERRORAn error has occurred.
See also
Btrieve::StatusCodeToString

◆ GetSecurityCurrentDatabasePAM()

int BtrieveFileInformation::GetSecurityCurrentDatabasePAM ( )

Get security current database PAM (Pluggable Authentication Module).

Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentDatabasePAM() fails.
if ((i = btrieveFileInformation.GetSecurityCurrentDatabasePAM()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentDatabasePAM():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentDatabasePAM = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentDatabasePAM()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityCurrentDatabasePAM():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentDatabasePAM =", "Yes" if rc > 0 else "No")
Return values
> 0Security current database PAM.
0Security current database not PAM.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentDatabaseRTSSComplete()

int BtrieveFileInformation::GetSecurityCurrentDatabaseRTSSComplete ( )

Get security current database RTSS (Runtime Server Support) complete.

Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentDatabaseRTSSComplete() fails.
if ((i = btrieveFileInformation.GetSecurityCurrentDatabaseRTSSComplete()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentDatabaseRTSSComplete():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentDatabaseRTSSComplete = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentDatabaseRTSSComplete()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityCurrentDatabaseRTSSComplete():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentDatabaseRTSSComplete =", "Yes" if rc > 0 else "No")
Return values
> 0Security current database RTSS complete.
0Security current database not RTSS complete.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentDatabaseRTSSDisabled()

int BtrieveFileInformation::GetSecurityCurrentDatabaseRTSSDisabled ( )

Get security current database RTSS (Runtime Server Support) disabled.

Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentDatabaseRTSSDisabled() fails.
if ((i = btrieveFileInformation.GetSecurityCurrentDatabaseRTSSDisabled()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentDatabaseRTSSDisabled():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentDatabaseRTSSDisabled = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentDatabaseRTSSDisabled()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityCurrentDatabaseRTSSDisabled():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentDatabaseRTSSDisabled =", "Yes" if rc > 0 else "No")
Return values
> 0Security current database RTSS disabled.
0Security current database not RTSS disabled.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentDatabaseRTSSPreauthorized()

int BtrieveFileInformation::GetSecurityCurrentDatabaseRTSSPreauthorized ( )

Get security current database RTSS (Runtime Server Support) preauthorized.

Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentDatabaseRTSSPreauthorized() fails.
if ((i = btrieveFileInformation.GetSecurityCurrentDatabaseRTSSPreauthorized()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentDatabaseRTSSPreauthorized():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentDatabaseRTSSPreauthorized = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentDatabaseRTSSPreauthorized()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityCurrentDatabaseRTSSPreauthorized():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentDatabaseRTSSPreauthorized =", "Yes" if rc > 0 else "No")
Return values
> 0Security current database RTSS preauthorized.
0Security current database not RTSS preauthorized.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentDatabaseTrusted()

int BtrieveFileInformation::GetSecurityCurrentDatabaseTrusted ( )

Get security current database trusted.

Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentDatabaseTrusted() fails.
if ((i = btrieveFileInformation.GetSecurityCurrentDatabaseTrusted()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentDatabaseTrusted():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentDatabaseTrusted = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentDatabaseTrusted()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityCurrentDatabaseTrusted():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentDatabaseTrusted =", "Yes" if rc > 0 else "No")
Return values
> 0Security current database trusted.
0Security current database not trusted.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentDatabaseWindowsNamedPipe()

int BtrieveFileInformation::GetSecurityCurrentDatabaseWindowsNamedPipe ( )

Get security current database Windows named pipe.

Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentDatabaseWindowsNamedPipe() fails.
if ((i = btrieveFileInformation.GetSecurityCurrentDatabaseWindowsNamedPipe()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentDatabaseWindowsNamedPipe():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentDatabaseWindowsNamedPipe = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentDatabaseWindowsNamedPipe()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityCurrentDatabaseWindowsNamedPipe():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentDatabaseWindowsNamedPipe =", "Yes" if rc > 0 else "No")
Return values
> 0Security current database Windows named pipe.
0Security current database not Windows named pipe.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentDatabaseWorkgroup()

int BtrieveFileInformation::GetSecurityCurrentDatabaseWorkgroup ( )

Get security current database workgroup.

Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentDatabaseWorkgroup() fails.
if ((i = btrieveFileInformation.GetSecurityCurrentDatabaseWorkgroup()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentDatabaseWorkgroup():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentDatabaseWorkgroup = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentDatabaseWorkgroup()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityCurrentDatabaseWorkgroup():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentDatabaseWorkgroup =", "Yes" if rc > 0 else "No")
Return values
> 0Security current database workgroup.
0Security current database not workgroup.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentUserName() [1/2]

const char * BtrieveFileInformation::GetSecurityCurrentUserName ( )

Get the security current user name.

Note
This method is not thread safe. The string returned will be overwritten on subsequent calls.
Snippet
C++ bfileinformation.cpp
// If GetSecurityCurrentUserName() fails.
if ((c = btrieveFileInformation.GetSecurityCurrentUserName()) == NULL)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityCurrentUserName():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityCurrentUserName = %s\n", c);
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityCurrentUserName()
assert(rc != None), "Error: BtrieveFileInformation::GetSecurityCurrentUserName():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityCurrentUserName =", rc)
Return values
!= NULLThe name.
NULLAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityCurrentUserName() [2/2]

Btrieve::StatusCode BtrieveFileInformation::GetSecurityCurrentUserName ( char * name,
int nameSize )

Get the security current user name.

Note
This method is available only in C++.
Parameters
[out]nameThe name.
[in]nameSizeThe name size.
Return values
= Btrieve::STATUS_CODE_NO_ERRORSuccess.
!= Btrieve::STATUS_CODE_NO_ERRORAn error has occurred.
See also
Btrieve::StatusCodeToString

◆ GetSecurityHandleAuthenticationByDatabase()

int BtrieveFileInformation::GetSecurityHandleAuthenticationByDatabase ( )

Get security handle authentication by database.

Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleAuthenticationByDatabase() fails.
if ((i = btrieveFileInformation.GetSecurityHandleAuthenticationByDatabase()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleAuthenticationByDatabase():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleAuthenticationByDatabase = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleAuthenticationByDatabase()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityHandleAuthenticationByDatabase():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleAuthenticationByDatabase =", "Yes" if rc > 0 else "No")
Return values
> 0Security handle authentication by database.
0Security handle not authentication by database.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandleAuthorizationByDatabase()

int BtrieveFileInformation::GetSecurityHandleAuthorizationByDatabase ( )

Get security handle authorization by database.

Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleAuthorizationByDatabase() fails.
if ((i = btrieveFileInformation.GetSecurityHandleAuthorizationByDatabase()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleAuthorizationByDatabase():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleAuthorizationByDatabase = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleAuthorizationByDatabase()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityHandleAuthorizationByDatabase():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleAuthorizationByDatabase =", "Yes" if rc > 0 else "No")
Return values
> 0Security handle authorization by database.
0Security handle not authorization by database.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandleBtpasswd()

int BtrieveFileInformation::GetSecurityHandleBtpasswd ( )

Get security handle Btpasswd.

Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleBtpasswd() fails.
if ((i = btrieveFileInformation.GetSecurityHandleBtpasswd()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleBtpasswd():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleBtpasswd = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleBtpasswd()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityHandleBtpasswd():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleBtpasswd =", "Yes" if rc > 0 else "No")
Return values
> 0Security handle Btpasswd.
0Security handle not Btpasswd.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandleDatabaseName() [1/2]

const char * BtrieveFileInformation::GetSecurityHandleDatabaseName ( )

Get the security handle database name.

Note
This method is not thread safe. The string returned will be overwritten on subsequent calls.
Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleDatabaseName() fails.
if ((c = btrieveFileInformation.GetSecurityHandleDatabaseName()) == NULL)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleDatabaseName():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleDatabaseName = %s\n", c);
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleDatabaseName()
assert(rc != None), "Error: BtrieveFileInformation::GetSecurityHandleDatabaseName():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleDatabaseName =", rc)
Return values
!= NULLThe name.
NULLAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandleDatabaseName() [2/2]

Btrieve::StatusCode BtrieveFileInformation::GetSecurityHandleDatabaseName ( char * name,
int nameSize )

Get the security handle database name.

Note
This method is available only in C++.
Parameters
[out]nameThe name.
[in]nameSizeThe name size.
Return values
= Btrieve::STATUS_CODE_NO_ERRORSuccess.
!= Btrieve::STATUS_CODE_NO_ERRORAn error has occurred.
See also
Btrieve::StatusCodeToString

◆ GetSecurityHandleExplicit()

int BtrieveFileInformation::GetSecurityHandleExplicit ( )

Get security handle explicit.

Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleExplicit() fails.
if ((i = btrieveFileInformation.GetSecurityHandleExplicit()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleExplicit():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleExplicit = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleExplicit()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityHandleExplicit():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleExplicit =", "Yes" if rc > 0 else "No")
Return values
> 0Security handle explicit.
0Security handle not explicit.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandleImplicit()

int BtrieveFileInformation::GetSecurityHandleImplicit ( )

Get security handle implicit.

Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleImplicit() fails.
if ((i = btrieveFileInformation.GetSecurityHandleImplicit()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleImplicit():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleImplicit = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleImplicit()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityHandleImplicit():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleImplicit =", "Yes" if rc > 0 else "No")
Return values
> 0Security handle implicit.
0Security handle not implicit.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandlePAM()

int BtrieveFileInformation::GetSecurityHandlePAM ( )

Get security handle PAM (Pluggable Authentication Module).

Snippet
C++ bfileinformation.cpp
// If GetSecurityHandlePAM() fails.
if ((i = btrieveFileInformation.GetSecurityHandlePAM()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandlePAM():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandlePAM = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandlePAM()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityHandlePAM():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandlePAM =", "Yes" if rc > 0 else "No")
Return values
> 0Security handle PAM.
0Security handle not PAM.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandleRTSSComplete()

int BtrieveFileInformation::GetSecurityHandleRTSSComplete ( )

Get security handle RTSS (Runtime Server Support) complete.

Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleRTSSComplete() fails.
if ((i = btrieveFileInformation.GetSecurityHandleRTSSComplete()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleRTSSComplete():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleRTSSComplete = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleRTSSComplete()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityHandleRTSSComplete():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleRTSSComplete =", "Yes" if rc > 0 else "No")
Return values
> 0Security handle RTSS complete.
0Security handle not RTSS complete.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandleRTSSDisabled()

int BtrieveFileInformation::GetSecurityHandleRTSSDisabled ( )

Get security handle RTSS (Runtime Server Support) disabled.

Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleRTSSDisabled() fails.
if ((i = btrieveFileInformation.GetSecurityHandleRTSSDisabled()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleRTSSDisabled():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleRTSSDisabled = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleRTSSDisabled()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityHandleRTSSDisabled():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleRTSSDisabled =", "Yes" if rc > 0 else "No")
Return values
> 0Security handle RTSS disabled.
0Security handle not RTSS disabled.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandleRTSSPreauthorized()

int BtrieveFileInformation::GetSecurityHandleRTSSPreauthorized ( )

Get security handle RTSS (Runtime Server Support) preautorized.

Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleRTSSPreauthorized() fails.
if ((i = btrieveFileInformation.GetSecurityHandleRTSSPreauthorized()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleRTSSPreauthorized():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleRTSSPreauthorized = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleRTSSPreauthorized()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityHandleRTSSPreauthorized():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleRTSSPreauthorized =", "Yes" if rc > 0 else "No")
Return values
> 0Security handle RTSS preautorized.
0Security handle not RTSS preautorized.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandleTableName() [1/2]

const char * BtrieveFileInformation::GetSecurityHandleTableName ( )

Get the security handle table name.

Note
This method is not thread safe. The string returned will be overwritten on subsequent calls.
Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleTableName() fails.
if ((c = btrieveFileInformation.GetSecurityHandleTableName()) == NULL)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleTableName():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleTableName = %s\n", c);
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleTableName()
assert(rc != None), "Error: BtrieveFileInformation::GetSecurityHandleTableName():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleTableName =", rc)
Return values
!= NULLThe name.
NULLAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandleTableName() [2/2]

Btrieve::StatusCode BtrieveFileInformation::GetSecurityHandleTableName ( char * name,
int nameSize )

Get the security handle table name.

Note
This method is available only in C++.
Parameters
[out]nameThe name.
[in]nameSizeThe name size.
Return values
= Btrieve::STATUS_CODE_NO_ERRORSuccess.
!= Btrieve::STATUS_CODE_NO_ERRORAn error has occurred.
See also
Btrieve::StatusCodeToString

◆ GetSecurityHandleTrusted()

int BtrieveFileInformation::GetSecurityHandleTrusted ( )

Get security handle trusted.

Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleTrusted() fails.
if ((i = btrieveFileInformation.GetSecurityHandleTrusted()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleTrusted():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleTrusted = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleTrusted()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityHandleTrusted():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleTrusted =", "Yes" if rc > 0 else "No")
Return values
> 0Security handle trusted.
0Security handle not trusted.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandleUserName() [1/2]

const char * BtrieveFileInformation::GetSecurityHandleUserName ( )

Get the security handle user name.

Note
This method is not thread safe. The string returned will be overwritten on subsequent calls.
Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleUserName() fails.
if ((c = btrieveFileInformation.GetSecurityHandleUserName()) == NULL)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleUserName():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleUserName = %s\n", c);
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleUserName()
assert(rc != None), "Error: BtrieveFileInformation::GetSecurityHandleUserName():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleUserName =", rc)
Return values
!= NULLThe name.
NULLAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandleUserName() [2/2]

Btrieve::StatusCode BtrieveFileInformation::GetSecurityHandleUserName ( char * name,
int nameSize )

Get the security handle user name.

Note
This method is available only in C++.
Parameters
[out]nameThe name.
[in]nameSizeThe name size.
Return values
= Btrieve::STATUS_CODE_NO_ERRORSuccess.
!= Btrieve::STATUS_CODE_NO_ERRORAn error has occurred.
See also
Btrieve::StatusCodeToString

◆ GetSecurityHandleWindowsNamedPipe()

int BtrieveFileInformation::GetSecurityHandleWindowsNamedPipe ( )

Get security handle Windows named pipe.

Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleWindowsNamedPipe() fails.
if ((i = btrieveFileInformation.GetSecurityHandleWindowsNamedPipe()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleWindowsNamedPipe():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleWindowsNamedPipe = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleWindowsNamedPipe()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityHandleWindowsNamedPipe():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleWindowsNamedPipe =", "Yes" if rc > 0 else "No")
Return values
> 0Security handle Windows named pipe.
0Security handle not Windows named pipe.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityHandleWorkgroup()

int BtrieveFileInformation::GetSecurityHandleWorkgroup ( )

Get security handle workgroup.

Snippet
C++ bfileinformation.cpp
// If GetSecurityHandleWorkgroup() fails.
if ((i = btrieveFileInformation.GetSecurityHandleWorkgroup()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityHandleWorkgroup():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityHandleWorkgroup = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityHandleWorkgroup()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityHandleWorkgroup():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityHandleWorkgroup =", "Yes" if rc > 0 else "No")
Return values
> 0Security handle workgroup.
0Security handle not workgroup.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityPermissionAlter()

int BtrieveFileInformation::GetSecurityPermissionAlter ( )

Get security permission alter.

Snippet
C++ bfileinformation.cpp
// If GetSecurityPermissionAlter() fails.
if ((i = btrieveFileInformation.GetSecurityPermissionAlter()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityPermissionAlter():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityPermissionAlter = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityPermissionAlter()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityPermissionAlter():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityPermissionAlter =", "Yes" if rc > 0 else "No")
Return values
> 0Security permission alter.
0Security permission no alter.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityPermissionCreateFile()

int BtrieveFileInformation::GetSecurityPermissionCreateFile ( )

Get security permission file create.

Snippet
C++ bfileinformation.cpp
// If GetSecurityPermissionCreateFile() fails.
if ((i = btrieveFileInformation.GetSecurityPermissionCreateFile()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityPermissionCreateFile():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityPermissionCreateFile = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityPermissionCreateFile()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityPermissionCreateFile():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityPermissionCreateFile =", "Yes" if rc > 0 else "No")
Return values
> 0Security permission file create.
0Security permission no file create.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityPermissionCreateRecord()

int BtrieveFileInformation::GetSecurityPermissionCreateRecord ( )

Get security permission record create.

Snippet
C++ bfileinformation.cpp
// If GetSecurityPermissionCreateRecord() fails.
if ((i = btrieveFileInformation.GetSecurityPermissionCreateRecord()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityPermissionCreateRecord():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityPermissionCreateRecord = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityPermissionCreateRecord()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityPermissionCreateRecord():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityPermissionCreateRecord =", "Yes" if rc > 0 else "No")
Return values
> 0Security permission record create.
0Security permission no record create.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityPermissionCreateStoredProcedure()

int BtrieveFileInformation::GetSecurityPermissionCreateStoredProcedure ( )

Get security permission create stored procedure.

Snippet
C++ bfileinformation.cpp
// If GetSecurityPermissionCreateStoredProcedure() fails.
if ((i = btrieveFileInformation.GetSecurityPermissionCreateStoredProcedure()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityPermissionCreateStoredProcedure():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityPermissionCreateStoredProcedure = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityPermissionCreateStoredProcedure()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityPermissionCreateStoredProcedure():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityPermissionCreateStoredProcedure =", "Yes" if rc > 0 else "No")
Return values
> 0Security permission create stored procedure.
0Security permission no create stored procedure.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityPermissionCreateView()

int BtrieveFileInformation::GetSecurityPermissionCreateView ( )

Get security permission create view.

Snippet
C++ bfileinformation.cpp
// If GetSecurityPermissionCreateView() fails.
if ((i = btrieveFileInformation.GetSecurityPermissionCreateView()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityPermissionCreateView():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityPermissionCreateView = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityPermissionCreateView()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityPermissionCreateView():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityPermissionCreateView =", "Yes" if rc > 0 else "No")
Return values
> 0Security permission create view.
0Security permission no create view.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityPermissionDelete()

int BtrieveFileInformation::GetSecurityPermissionDelete ( )

Get security permission delete.

Snippet
C++ bfileinformation.cpp
// If GetSecurityPermissionDelete() fails.
if ((i = btrieveFileInformation.GetSecurityPermissionDelete()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityPermissionDelete():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityPermissionDelete = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityPermissionDelete()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityPermissionDelete():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityPermissionDelete =", "Yes" if rc > 0 else "No")
Return values
> 0Security permission delete.
0Security permission no delete.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityPermissionExecute()

int BtrieveFileInformation::GetSecurityPermissionExecute ( )

Get security permission execute.

Snippet
C++ bfileinformation.cpp
// If GetSecurityPermissionExecute() fails.
if ((i = btrieveFileInformation.GetSecurityPermissionExecute()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityPermissionExecute():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityPermissionExecute = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityPermissionExecute()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityPermissionExecute():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityPermissionExecute =", "Yes" if rc > 0 else "No")
Return values
> 0Security permission execute.
0Security permission no execute.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityPermissionNoRights()

int BtrieveFileInformation::GetSecurityPermissionNoRights ( )

Get security permission no rights.

Snippet
C++ bfileinformation.cpp
// If GetSecurityPermissionNoRights() fails.
if ((i = btrieveFileInformation.GetSecurityPermissionNoRights()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityPermissionNoRights():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityPermissionNoRights = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityPermissionNoRights()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityPermissionNoRights():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityPermissionNoRights =", "Yes" if rc > 0 else "No")
Return values
> 0Security permission no rights.
0Security permission rights.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityPermissionOpen()

int BtrieveFileInformation::GetSecurityPermissionOpen ( )

Get security permission open.

Snippet
C++ bfileinformation.cpp
// If GetSecurityPermissionOpen() fails.
if ((i = btrieveFileInformation.GetSecurityPermissionOpen()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityPermissionOpen():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityPermissionOpen = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityPermissionOpen()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityPermissionOpen():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityPermissionOpen =", "Yes" if rc > 0 else "No")
Return values
> 0Security permission open.
0Security permission no open.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityPermissionRead()

int BtrieveFileInformation::GetSecurityPermissionRead ( )

Get security permission read.

Snippet
C++ bfileinformation.cpp
// If GetSecurityPermissionRead() fails.
if ((i = btrieveFileInformation.GetSecurityPermissionRead()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityPermissionRead():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityPermissionRead = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityPermissionRead()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityPermissionRead():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityPermissionRead =", "Yes" if rc > 0 else "No")
Return values
> 0Security permission read.
0Security permission no read.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityPermissionRefer()

int BtrieveFileInformation::GetSecurityPermissionRefer ( )

Get security permission refer.

Snippet
C++ bfileinformation.cpp
// If GetSecurityPermissionRefer() fails.
if ((i = btrieveFileInformation.GetSecurityPermissionRefer()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityPermissionRefer():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityPermissionRefer = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityPermissionRefer()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityPermissionRefer():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityPermissionRefer =", "Yes" if rc > 0 else "No")
Return values
> 0Security permission refer.
0Security permission no refer.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSecurityPermissionUpdate()

int BtrieveFileInformation::GetSecurityPermissionUpdate ( )

Get security permission update.

Snippet
C++ bfileinformation.cpp
// If GetSecurityPermissionUpdate() fails.
if ((i = btrieveFileInformation.GetSecurityPermissionUpdate()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSecurityPermissionUpdate():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SecurityPermissionUpdate = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSecurityPermissionUpdate()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSecurityPermissionUpdate():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SecurityPermissionUpdate =", "Yes" if rc > 0 else "No")
Return values
> 0Security permission update.
0Security permission no update.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSegmentCount()

int BtrieveFileInformation::GetSegmentCount ( )

Get the segment count.

Snippet
C++ bfileinformation.cpp
// If GetSegmentCount() fails.
if ((segmentCount = btrieveFileInformation.GetSegmentCount()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSegmentCount():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SegmentCount = %d\n", segmentCount);
Python bfileinformation.py
rc = btrieveFileInformation.GetSegmentCount()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSegmentCount():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SegmentCount =", rc)
Return values
>= 0The exists count.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSegmented()

int BtrieveFileInformation::GetSegmented ( )

Get segmented.

Snippet
C++ bfileinformation.cpp
// If GetSegmented() fails.
if ((i = btrieveFileInformation.GetSegmented()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSegmented():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("Segmented = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSegmented()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSegmented():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("Segmented =", "Yes" if rc > 0 else "No")
Return values
> 0File is segmented.
0File isn't segmented.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSegmentFileName() [1/2]

const char * BtrieveFileInformation::GetSegmentFileName ( int segmentFileNumber)

Get the segment file name.

Note
This method is not thread safe. The string returned will be overwritten on subsequent calls.
Parameters
[in]segmentFileNumberThe segment file number.
Snippet
C++ bfileinformation.cpp
// If GetSegmentFileName() fails.
if ((c = btrieveFileInformation.GetSegmentFileName(i)) == NULL)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSegmentFileName():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
Python bfileinformation.py
rc = btrieveFileInformation.GetSegmentFileName(i)
assert(rc != None), "Error: BtrieveFileInformation::GetSegmentFileName():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SegmentFileName =", rc)
Return values
!= NULLThe name.
NULLAn error has occurred.
Examples
bfileinformation.cpp.

◆ GetSegmentFileName() [2/2]

Btrieve::StatusCode BtrieveFileInformation::GetSegmentFileName ( int segmentFileNumber,
char * name,
int nameSize )

Get the segment file name.

Note
This method is available only in C++.
Parameters
[in]segmentFileNumberThe segment file number.
[out]nameThe name.
[in]nameSizeThe name size.
Return values
= Btrieve::STATUS_CODE_NO_ERRORSuccess.
!= Btrieve::STATUS_CODE_NO_ERRORAn error has occurred.
See also
Btrieve::StatusCodeToString

◆ GetSystemData()

int BtrieveFileInformation::GetSystemData ( )

Get system data.

Note
Renamed from BtrieveFileInformation::GetSystemIndexPresent in Zen v15 R1.
Snippet
C++ bfileinformation.cpp
// If GetSystemData() fails.
if ((i = btrieveFileInformation.GetSystemData()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSystemData():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SystemIndexPresent = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSystemData()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSystemData():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SystemIndexPresent =", "Yes" if rc > 0 else "No")
Return values
2System data version 2 is present.
1System data is present.
0System data isn't present.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSystemDataMode()

Btrieve::SystemDataMode BtrieveFileInformation::GetSystemDataMode ( )

Get the system data mode.

Snippet
C++ bfileinformation.cpp
// If GetSystemDataMode() fails.
if ((btrieveSystemDataMode = btrieveFileInformation.GetSystemDataMode()) == Btrieve::SYSTEM_DATA_MODE_UNKNOWN)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSystemDataMode():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SystemDataMode = %s\n", Btrieve::SystemDataModeToString(btrieveSystemDataMode));
Python bfileinformation.py
rc = btrieveFileInformation.GetSystemDataMode()
assert(rc != btrievePython.Btrieve.SYSTEM_DATA_MODE_UNKNOWN), "Error: BtrieveFileInformation::GetSystemDataMode():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SystemDataMode =", btrievePython.Btrieve_SystemDataModeToString(rc))
Return values
!= Btrieve::SYSTEM_DATA_MODE_UNKNOWNSuccess.
= Btrieve::SYSTEM_DATA_MODE_UNKNOWNAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
See also
Btrieve::SystemDataModeToString
Examples
bfileattributes.cpp, and bfileinformation.cpp.

◆ GetSystemIndex()

int BtrieveFileInformation::GetSystemIndex ( )

Get system index.

Note
Renamed from BtrieveFileInformation::GetSystemIndexUsed in Zen v15 R1.
Snippet
C++ bfileinformation.cpp
// If GetSystemIndex() fails.
if ((i = btrieveFileInformation.GetSystemIndex()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSystemIndex():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SystemIndexUsed = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetSystemIndex()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSystemIndex():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SystemIndexUsed =", "Yes" if rc > 0 else "No")
Return values
3System indexes Btrieve::INDEX_SYSTEM and Btrieve::INDEX_SYSTEM_VERSION_2 are present.
2System index Btrieve::INDEX_SYSTEM_VERSION_2 is present.
1System index Btrieve::INDEX_SYSTEM is present.
0No system index is present.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSystemIndexSize()

int BtrieveFileInformation::GetSystemIndexSize ( )

Get the system index size.

Snippet
C++ bfileinformation.cpp
// If GetSystemIndexSize() fails.
if ((i = btrieveFileInformation.GetSystemIndexSize()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSystemIndexSize():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SystemIndexSize = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetSystemIndexSize()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSystemIndexSize():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SystemIndexSize =", rc)
Return values
>= 0The system index size.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetSystemIndexVersion()

int BtrieveFileInformation::GetSystemIndexVersion ( )

Get the system index version.

Snippet
C++ bfileinformation.cpp
// If GetSystemIndexVersion() fails.
if ((i = btrieveFileInformation.GetSystemIndexVersion()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetSystemIndexVersion():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("SystemIndexVersion = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetSystemIndexVersion()
assert(rc >= 0), "Error: BtrieveFileInformation::GetSystemIndexVersion():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("SystemIndexVersion =", rc)
Return values
>= 0The system index version.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetUnusedDuplicatePointerCount()

int BtrieveFileInformation::GetUnusedDuplicatePointerCount ( )

Get the unused duplicate pointer count.

Snippet
C++ bfileinformation.cpp
// If GetUnusedDuplicatePointerCount() fails.
if ((i = btrieveFileInformation.GetUnusedDuplicatePointerCount()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetUnusedDuplicatePointerCount():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("UnusedDuplicatePointerCount = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetUnusedDuplicatePointerCount()
assert(rc >= 0), "Error: BtrieveFileInformation::GetUnusedDuplicatePointerCount():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("UnusedDuplicatePointerCount =", rc)
Return values
>= 0The unused duplicate pointer count.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileattributes.cpp, and bfileinformation.cpp.

◆ GetUnusedPageCount()

int BtrieveFileInformation::GetUnusedPageCount ( )

Get the unused page count.

Snippet
C++ bfileinformation.cpp
// If GetUnusedPageCount() fails.
if ((i = btrieveFileInformation.GetUnusedPageCount()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetUnusedPageCount():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("UnusedPageCount = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetUnusedPageCount()
assert(rc >= 0), "Error: BtrieveFileInformation::GetUnusedPageCount():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("UnusedPageCount =", rc)
Return values
>= 0The unused page count.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileattributes.cpp, and bfileinformation.cpp.

◆ GetUsageCount()

int BtrieveFileInformation::GetUsageCount ( )

Get the usage count.

Snippet
C++ bfileinformation.cpp
// If GetUsageCount() fails.
if ((i = btrieveFileInformation.GetUsageCount()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetUsageCount():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("UsageCount = %d\n", i);
Python bfileinformation.py
rc = btrieveFileInformation.GetUsageCount()
assert(rc >= 0), "Error: BtrieveFileInformation::GetUsageCount():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("UsageCount =", rc)
Return values
>= 0The usage count.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.

◆ GetVariableLengthRecordsMode()

Btrieve::VariableLengthRecordsMode BtrieveFileInformation::GetVariableLengthRecordsMode ( )

Get the variable length records mode.

Snippet
C++ bfileinformation.cpp
// If GetVariableLengthRecordsMode() fails.
if ((btrieveVariableLengthRecordsMode = btrieveFileInformation.GetVariableLengthRecordsMode()) == Btrieve::VARIABLE_LENGTH_RECORDS_MODE_UNKNOWN)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetVariableLengthRecordsMode():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("VariableLengthRecordsMode = %s\n", Btrieve::VariableLengthRecordsModeToString(btrieveVariableLengthRecordsMode));
Python bfileinformation.py
rc = btrieveFileInformation.GetVariableLengthRecordsMode()
assert(rc != btrievePython.Btrieve.VARIABLE_LENGTH_RECORDS_MODE_UNKNOWN), "Error: BtrieveFileInformation::GetVariableLengthRecordsMode():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("VariableLengthRecordsMode =", btrievePython.Btrieve_VariableLengthRecordsModeToString(rc))
Return values
!= Btrieve::SYSTEM_DATA_MODE_UNKNOWNSuccess.
= Btrieve::SYSTEM_DATA_MODE_UNKNOWNAn error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
See also
Btrieve::VariableLengthRecordsModeToString
Examples
bfileattributes.cpp, and bfileinformation.cpp.

◆ GetWrongOwner()

int BtrieveFileInformation::GetWrongOwner ( )

Get wrong owner.

Snippet
C++ bfileinformation.cpp
// If GetWrongOwner() fails.
if ((i = btrieveFileInformation.GetWrongOwner()) < 0)
{
status = btrieveFileInformation.GetLastStatusCode();
printf("Error: BtrieveFileInformation::GetWrongOwner():%d:%s.\n", status, Btrieve::StatusCodeToString(status));
goto leave;
}
printf("WrongOwner = %s\n", i > 0 ? "Yes" : "No");
Python bfileinformation.py
rc = btrieveFileInformation.GetWrongOwner()
assert(rc >= 0), "Error: BtrieveFileInformation::GetWrongOwner():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(btrieveFileInformation.GetLastStatusCode()))
print("WrongOwner =", "Yes" if rc > 0 else "No")
Return values
> 0The file was opened with an incorrect owner name.
0The file wasn't opened with an incorrect owner name.
-1An error has occurred. Use BtrieveFileInformation::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error.
Examples
bfileinformation.cpp.