大网数据广告活动
安装更新与部署

ODBCDataSource Table

· 52CE 我爱测

The ODBCDataSource table lists the data sources belonging to the installation.

The ODBCDataSource table lists the data sources belonging to the installation.

The ODBCDataSource table has the following columns.

Column Type Key Nullable
DataSource Identifier Y N
Component_ Identifier N N
Description Text N N
DriverDescription Text N N
Registration Integer N N

Columns

DataSource

Internal token name for data source. A primary key for the table.

Component_

External key into the Component table.

Description

The description registered for this data source. This value cannot be localized. ODBC data source descriptions cannot exceed SQL_MAX_DSN_LENGTH.

DriverDescription

Associated driver which may be pre-existing. This value cannot be localized.

Registration

This field specifies the type of registration for the data source.

Constant Hexadecimal Decimal Description
msidbODBCDataSourceRegistrationPerMachine 0x000 0 Data source is registered per machine.
msidbODBCDataSourceRegistrationPerUser 0x001 1 Data source is registered per user.

Remarks

The InstallODBC and RemoveODBC actions in sequence tables process the information in this table. For information about using sequence tables, see Using a Sequence Table.

Validation

ICE03
ICE06
ICE32
ICE45
ICE98

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。