共用方式為


Win32_ODBCSourceAttribute class

The Win32_ODBCSourceAttribute class represents the information regarding an ODBC source and the attributes that must be set for installation.

Note

For more information about support or requirements for installation on a specific operating system, see Operating System Availability of WMI Components.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

[Provider("MSIProv"), Dynamic]
class Win32_ODBCSourceAttribute : CIM_Setting
{
  string Attribute;
  string Caption;
  string DataSource;
  string Description;
  string SettingID;
  string Value;
};

Members

The Win32_ODBCSourceAttribute class has these types of members:

Properties

The Win32_ODBCSourceAttribute class has these properties.

Attribute

Data type: string

Access type: Read-only

Qualifiers: Key, Dynamic

Name of the data source attribute.

Caption

Data type: string

Access type: Read-only

Short textual description of the CIM_Setting object.

DataSource

Data type: string

Access type: Read-only

Qualifiers: Key, Dynamic

Token name for the data source within its package to which this attribute applies.

Description

Data type: string

Access type: Read-only

Description of the CIM_Setting object.

SettingID

Data type: string

Access type: Read-only

Identifier by which the CIM_Setting object is known.

Value

Data type: string

Access type: Read-only

Value for this data source attribute.

Remarks

The Win32_ODBCSourceAttribute class is derived from CIM_Setting.

Requirements

Minimum supported client
Windows XP
Minimum supported server
Windows Server 2003
Namespace
Root\CIMV2
MOF
Msi.mof
DLL
Msiprov.dll

See also

Installed Applications Classes