Win32_ODBCTranslatorSpecification class
The Win32_ODBCTranslatorSpecification WMI class represents any ODBC translator that is included as part of a product's 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_ODBCTranslatorSpecification : CIM_Check
{
string Caption;
string CheckID;
boolean CheckMode;
string Description;
string File;
string Name;
string SetupFile;
string SoftwareElementID;
string SoftwareElementState;
uint16 TargetOperatingSystem;
string Translator;
string Version;
};
Members
The Win32_ODBCTranslatorSpecification class has these types of members:
Methods
The Win32_ODBCTranslatorSpecification class has these methods.
| Method | Description |
|---|---|
| Invoke |
Evaluates a particular check. The details of how the method evaluates a particular check in a CIM context are described by the nonabstract CIM_Check subclasses. |
Properties
The Win32_ODBCTranslatorSpecification class has these properties.
- Caption
-
- Data type: string
- Access type: Read-only
Short textual description of the object.
- CheckID
-
- Data type: string
- Access type: Read-only
Identifier used in conjunction with other keys to uniquely identify the check.
- CheckMode
-
- Data type: boolean
- Access type: Read-only
Whether the condition is expected to exist in the environment. When TRUE, the condition is expected to exist (for example, a file is expected to be on a system), so the Invoke method is expected to return TRUE.
- Description
-
- Data type: string
- Access type: Read-only
Description of the object.
- File
-
- Data type: string
- Access type: Read-only
File identifier of the Win32_FileSpecification instance representing this translator.
- Name
-
- Data type: string
- Access type: Read-only
Name used to identify the software element.
- SetupFile
-
- Data type: string
- Access type: Read-only
File identifier of the Win32_FileSpecification instance representing this translator's setup DLL.
- SoftwareElementID
-
- Data type: string
- Access type: Read-only
Identifier for the software element.
- SoftwareElementState
-
- Data type: string
- Access type: Read-only
State of a software element.
Value Meaning - 1
Deployable
- 2
Installable
- 3
Executable
- 4
Running
- TargetOperatingSystem
-
- Data type: uint16
- Access type: Read-only
Target operating system of the software element. The possible values for this property are as follows.
- Translator
-
- Data type: string
- Access type: Read-only
Token name for the translator within its package.
- Version
-
- Data type: string
- Access type: Read-only
Version of the software element. Values should be in the form [Major].[Minor].[Revision] or [Major].[Minor][letter][revision].
Remarks
The Win32_ODBCTranslatorSpecification class is derived from CIM_Check.
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