EnableByPlatform method of the MSFT_OdbcPerfCounterTask class

Enables the ODBC Connection Pooling PerfMon counters for troubleshooting ODBC Connection Pooling feature.

Syntax

uint32 EnableByPlatform(
  [in]  boolean              PassThru,
  [in]  string               Platform,
  [out] MSFT_OdbcPerfCounter 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.

Platform [in]

The platform architecture of the ODBC Connection Pooling PerfMon counters. Possible values are '32-bit', '64-bit' or 'All'. The default is '32-bit' on a 32-bit process and '64-bit' on a 64-bit process. This is the platform architecture on the remote machine if this command is executed on a remote CIM session.

cmdletOutput [out]

The output is an array of CIM objects of type MSFT_OdbcPerfCounter, each of which represents an ODBC Performance Counter setting.

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_OdbcPerfCounterTask

MSFT_OdbcPerfCounter