Argomento precedente: AddResourceByMap

Argomento successivo: GetResourceDetails

CommitResources

Description

This method commits the given resources. The parameter contains the name of a resource, resource group, or map of resources and resource groups.

Syntax

CommitResources (Resources)

Parameters

Name

Type

Description

Resources

string/map

Name of a resource, resource group, or map of resources and/or resource groups. The map cannot be empty.

Remarks

This method updates the database, but does not perform the database commit. The Tools.Commit method must be used in the script as well.

This method uses time-consuming operations, whose duration depends not only on the number of uncommitted changes that the operations are performed upon, but also on the size of the resource tables. Therefore, CA recommends performing this operation on a number of changes, and not on each change separately.