Click or drag to resize
Galactic API

DirectoryCommitChanges Method

Commits any pending changes to the directory specified by the supplied path.

Namespace:  Galactic.FileSystem
Assembly:  Galactic.FileSystem (in Galactic.FileSystem.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public static bool CommitChanges(
	string path,
	ref DirectorySecurity security
)

Parameters

path
Type: SystemString
The path to the directory to commit changes on.
security
Type: System.Security.AccessControlDirectorySecurity
The DirectorySecurity object of the directory that will be changed.

Return Value

Type: Boolean
True if the changes were commited. False if the directory does not exist, or the current process does not have sufficient access to the specified path, or the current operating system in not Windows 2000 or later.
See Also