Partager via


DeleteMgmtProperty method of the MSFT_FSRMMgmtProperty class

Deletes management properties.

Syntax

uint64 DeleteMgmtProperty(
  [in] string  Namespace,
  [in] string  Name,
  [in] boolean Recurse
);

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. Must be a valid name of a classification property marked for management on the server. Required.

Recurse [in]

If True, will remove the specified property from the folder specified in the Namespace parameter and all subdirectories of that folder. If False, will remove the specified property from the folder specified in the Namespace parameter and all subdirectories of that folder. If the Namespace parameter is not specified then the Recurse parameter is ignored and all of the named properties will be removed from the server..

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