Partager via


GetMgmtProperty method of the MSFT_FSRMMgmtProperty class

Retrieves management properties that meet the specified criteria.

Syntax

uint64 GetMgmtProperty(
  [in]  string                Namespace,
  [in]  string                Name,
  [in]  boolean               Recurse,
  [in]  boolean               Effective,
  [out] MSFT_FSRMMgmtProperty Property[]
);

Parameters

Namespace [in]

A string representing a local path to a folder or a folder of the format "<Volume>:\path". Must not exceed the value of MAX_PATH. Optional.

Name [in]

A string up to 1KB in size. Optional.

Recurse [in]

If True, retrieves management properties for all folders containing management properties within the path. The default value is False. Optional.

Effective [in]

If True, retrieves the management property for the nearest folder with the requested property set. The default value is False. Optional.

Property [out]

Returns an array of MSFT_FSRMMgmtProperty instances representing the selected management properties.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\FSRM
MOF
MSFT_FSRM.mof
DLL
SrmSvc.dll

See also

MSFT_FSRMMgmtProperty