|
FilePathApplyInheritableDirectoryPermissions Method
|
Replaces the permissions of the directory at the given targetPath
with the inheritable permissions from the directory at the given sourcePath.
Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax public static void ApplyInheritableDirectoryPermissions(
string sourcePath,
string targetPath
)
Public Shared Sub ApplyInheritableDirectoryPermissions (
sourcePath As String,
targetPath As String
)
public:
static void ApplyInheritableDirectoryPermissions(
String^ sourcePath,
String^ targetPath
)
static member ApplyInheritableDirectoryPermissions :
sourcePath : string *
targetPath : string -> unit
GSF.IO.FilePath.ApplyInheritableDirectoryPermissions = function(sourcePath, targetPath);
View SourceParameters
- sourcePath String
- The path to the directory from which to derive inheritable permissions.
- targetPath String
- The path to the directory to which to apply the derived permissions.
See Also