Freigeben über


RemoveByDsnObject method of the MSFT_OdbcDsnTask class

Removes one or more existing DSNs from the system.

Syntax

uint32 RemoveByDsnObject(
  [in]  boolean      PassThru,
  [in]  MSFT_OdbcDsn InputObject[],
  [out] MSFT_OdbcDsn 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.

InputObject [in]

Removes the ODBC DSNs represented by the specified ODBC DSN 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_OdbcDsn, each of which represents an ODBC DSN.

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_OdbcDsnTask

MSFT_OdbcDsn