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
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
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
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.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012