Persistent ID Type Property

ADO and SQL Server

ADO and SQL Server

Persistent ID Type Property

The Persistent ID Type property specifies the type of DBID that the provider uses when persisting DBIDs that name entities in the database, such as tables, indexes, columns, commands, or constraints. This is generally the type of DBID that the provider considers the most permanent under schema changes and physical data reorganizations.

Applies To
Connection Object
Syntax

object.Properties("Persistent ID Type")

Parts

object

Expression that evaluates to an object in the Applies To list.

Returns

One of the following settings:

Constant Description
DBPROPVAL_PT_GUID GUID value must be provided.
DBPROPVAL_PT_GUID_NAME GUID and _NAME values must be provided.
DBPROPVAL_PT_GUID_PROPID GUID and _PROPID values must be provided.
DBPROPVAL_PT_NAME NAME value must be provided.
DBPROPVAL_PT_PGUID_NAME GUID and _NAME values must be provided.
DBPROPVAL_PT_PGUID_PROPID GUID and _PROPID values must be provided.
DBPROPVAL_PT_PROPID PROPID value must be provided.

Data Type

adInteger

Modifiable

Read-only

OLE DB Property

DBPROP_PERSISTENTIDTYPE