次の方法で共有


Search method of the MSFT_MTRegistryTasks class

Searches the specified string in registry tree represented by the root registry key.

Syntax

uint32 Search(
  [in]  string                Value,
  [in]  string                KeyName,
  [in]  uint8                 Options,
  [out] MSFT_MTRegistryObject Results[]
);

Parameters

Value [in]

The text to search.

KeyName [in]

The name of root registry key to search under it.

Options [in]

Miscellaneous search options. At default, all options are enabled.

Results [out]

On success, returns a list of MSFT_MTRegistryObject embedded instances containing the search results.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\ManagementTools
MOF
RegProv.mof
DLL
RegProv.dll

See also

MSFT_MTRegistryTasks