DBKINDENUM enumeration
[Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.]
The DBKINDENUM enumerated type specifies the combination of GUID, property number, or property name to use to identify a database object.
Syntax
enum DBKINDENUM {
DBKIND_GUID_NAME,
DBKIND_GUID_PROPID,
DBKIND_NAME,
DBKIND_PGUID_NAME,
DBKIND_PGUID_PROPID,
DBKIND_PROPID,
DBKIND_GUID
};
Constants
-
DBKIND_GUID_NAME
-
DBKIND_GUID_PROPID
-
DBKIND_NAME
-
DBKIND_PGUID_NAME
-
DBKIND_PGUID_PROPID
-
DBKIND_PROPID
-
DBKIND_GUID
enum DBKINDENUM {
DBKIND_GUID_NAME = 0, // use the guid and pwszName members
DBKIND_GUID_PROPID = DBKIND_GUID_NAME + 1, // use the guid and ulPropid members
DBKIND_NAME = DBKIND_GUID_PROPID + 1, // use only the pwszName member, and
// ignore the uGuid member
DBKIND_PGUID_NAME = DBKIND_NAME + 1, // use the pGuid and pwszName members
DBKIND_PGUID_PROPID = DBKIND_PGUID_NAME + 1, // use the pGuid and ulPropid members
DBKIND_PROPID = DBKIND_PGUID_PROPID + 1, // use only the ulPropid member, and
// ignore the uGuid member
DBKIND_GUID = DBKIND_PROPID + 1 // use only the guid member
};
Remarks
The DBID structure uses a value from this enumerated type as a parameter.
The OLE DB Provider for Indexing Service accepts only the DBKIND_GUID_NAME, DBKIND_GUID_PROPID, DBKIND_PGUID_NAME, and DBKIND_PGUID_PROPID values.
Requirements
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
End of client support |
Windows 7 |
End of server support |
Windows Server 2008 R2 |