Partager via


MSFT_OdbcDsnTask class

Task provider for ODBC Data Source Name (DSN).

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[dynamic, provider("WdacWmiProv"), ClassVersion("1.0"), AMENDMENT]
class MSFT_OdbcDsnTask
{
};

Members

The MSFT_OdbcDsnTask class has these types of members:

Methods

The MSFT_OdbcDsnTask class has these methods.

Method Description
Add Adds an ODBC DSN.
Get Retrieves one or more ODBC DSNs from the system.
RemoveByDsnObject Removes one or more existing DSNs from the system.
RemoveByName Removes one or more existing DSNs from the system.
SetByInputObject Modifies one or more ODBC DSNs.
SetByName Modifies one or more ODBC DSNs.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\WDAC
MOF
WdacWmiProv.mof
DLL
WdacWmiProv.dll

See also

WDAC WMI Provider Reference