| 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
)
Public Shared Function CommitChanges (
path As String,
ByRef security As DirectorySecurity
) As Boolean
public:
static bool CommitChanges(
String^ path,
DirectorySecurity^% security
)
static member CommitChanges :
path : string *
security : DirectorySecurity byref -> bool
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:
BooleanTrue 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