Skip to content

Latest commit

 

History

History
95 lines (77 loc) · 3.93 KB

nf-fsrm-ifsrmcommittablecollection-commit.md

File metadata and controls

95 lines (77 loc) · 3.93 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:fsrm.IFsrmCommittableCollection.Commit
IFsrmCommittableCollection::Commit (fsrm.h)
Commits all the objects of the collection and returns the commit results for each object.
Commit
Commit method [File Server Resource Manager]
Commit method [File Server Resource Manager]
IFsrmCommittableCollection interface
IFsrmCommittableCollection interface [File Server Resource Manager]
Commit method
IFsrmCommittableCollection.Commit
IFsrmCommittableCollection::Commit
fs.ifsrmcommitablecollection_commit
fs.ifsrmcommittablecollection_commit
fsrm.ifsrmcommittablecollection_commit
fsrm/IFsrmCommittableCollection::Commit
fsrm\ifsrmcommittablecollection_commit.htm
fsrm
844cb2a5-8526-434b-af22-b1bf856ed6af
12/05/2018
Commit, Commit method [File Server Resource Manager], Commit method [File Server Resource Manager],IFsrmCommittableCollection interface, IFsrmCommittableCollection interface [File Server Resource Manager],Commit method, IFsrmCommittableCollection.Commit, IFsrmCommittableCollection::Commit, fs.ifsrmcommitablecollection_commit, fs.ifsrmcommittablecollection_commit, fsrm.ifsrmcommittablecollection_commit, fsrm/IFsrmCommittableCollection::Commit
fsrm.h
FsrmQuota.h, FsrmReports.h, FsrmScreen.h
Windows
None supported
Windows Server 2008
SrmSvc.dll
Windows
19H1
IFsrmCommittableCollection::Commit
fsrm/IFsrmCommittableCollection::Commit
c++
APIRef
kbSyntax
COM
SrmSvc.dll
IFsrmCommittableCollection.Commit

IFsrmCommittableCollection::Commit

-description

Commits all the objects of the collection and returns the commit results for each object.

-parameters

-param options [in]

One or more options to use when committing the collection of objects. For possible values, see the FsrmCommitOptions enumeration.

-param results [out]

A collection of HRESULT values that correspond directly to the objects in the collection. The HRESULT value indicates the success or failure of committing the object.

If the method returns FSRM_S_PARTIAL_BATCH or FSRM_E_FAIL_BATCH, check the results.

-returns

The method returns the following return values.

-remarks

Committing objects in a batch operation provides better performance than committing each object in the collection individually (for example, calling the IFsrmFileScreen::Commit method).

Note that the state of the objects in the collection must be the same. For example, the collection must contain all new objects, objects marked for deletion, or modified objects. The modified category covers objects are not new or marked for deletion—it does not necessarily mean that they've been modified.

A collection of imported objects would be considered a collection of modified objects. If you marked one or more of the imported objects for deletion (called the Delete method on the object), you would first have to remove those objects from the collection before committing the rest.

-see-also

IFsrmCommittableCollection