IFsrmAction::Delete method

[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMAction, MSFT_FSRMFMJAction, and MSFT_FSRMFMJNotificationAction classes.]

Removes the action from the quota or file screen's list of actions.

Syntax


HRESULT Delete();

Parameters

This method has no parameters.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

 

Remarks

Calling the IFsrmQuotaBase::DeleteThreshold method also deletes the actions associated with the threshold.

Note that the actions are not deleted from the object until you call the object's Commit method. For example, the actions are not deleted from the quota until the IFsrmQuota::Commit method is called, nor from the file screens until you call the IFsrmFileScreen::Commit method.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

Fsrm.h (include FsrmQuota.h or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmAction is defined as:
  • 6cd6408a-ae60-463b-9ef1-e117534d69dc
  • 6cd6408a-ae60-463b-9ef1-e117534d69dc

See also

IFsrmAction

 

 

Show:
© 2014 Microsoft