IFsrmObject::Commit method

Saves the object in the server's list of objects.

Syntax


HRESULT Commit();

Parameters

This method has no parameters.

Return value

The method returns the following return values as well as others depending of the object being committed.

Return codeDescription
S_OK

Success.

FSRM_E_ALREADY_EXISTS

An object of the same type already exists with the same name or for the specified path.

FSRM_E_REQD_PARAM_MISSING

A required parameter for the object was not set before calling commit.

FSRM_E_NOT_FOUND

The object was deleted between the time you retrieved the object and called commit.

FSRM_E_DUPLICATE_NAME

A report with the same name already exists.

 

Examples

For an example, see Using Templates to Define File Screens.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

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

DLL

SrmSvc.dll

IID

IID_IFsrmObject is defined as:
  • 22bcef93-4a3f-4183-89f9-2f8b8a628aee
  • 22bcef93-4a3f-4183-89f9-2f8b8a628aee

See also

IFsrmObject

 

 

Show:
© 2014 Microsoft