Freigeben über


SetByInputObject method of the MSFT_OdbcDriverTask class

Configure driver\\'s properties for one or more installed ODBC drivers.

Syntax

uint32 SetByInputObject(
  [in]  boolean         PassThru,
  [in]  string          SetPropertyValue[],
  [in]  string          RemovePropertyValue[],
  [in]  MSFT_OdbcDriver InputObject[],
  [out] MSFT_OdbcDriver cmdletOutput[]
);

Parameters

PassThru [in]

Passes the object created by this cmdlet through the pipeline. By default, this cmdlet does not pass any objects through the pipeline.

SetPropertyValue [in]

Specifies the property values of the ODBC driver to be modified or added. Format as an array of strings where each string is: <key>=<value>.

RemovePropertyValue [in]

Specifies the property values of the ODBC driver to be deleted. This is an array of keys to be removed.

InputObject [in]

Modifies the ODBC driver represented by the specified ODBC driver objects. Enter a variable that contains the objects, or type a command or expression that gets the objects.

cmdletOutput [out]

The output is an array of CIM objects of type MSFT_OdbcDriver, each of which represents an ODBC driver.

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

MSFT_OdbcDriverTask

MSFT_OdbcDriver