Click or drag to resize
MediaLibraryHelperCopyRecursive Method (Int32, DirectoryInfo, String, String, Int32, String, Boolean)

Note: This API is now obsolete.

Recursive copy media library directory.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This method is obsolete. Use CopyRecursive(int libraryID, DirectoryInfo dir, string destinationDirectory, string sourcePath, int libraryPathIndex, string startingPoint, bool copyDB, int userId) method instead.")]
public static void CopyRecursive(
	int libraryID,
	DirectoryInfo dir,
	string destinationDirectory,
	string sourcePath,
	int libraryPathIndex,
	string startingPoint,
	bool copyDB
)

Parameters

libraryID
Type: SystemInt32
Library ID
dir
Type: CMS.IODirectoryInfo
Directory Info
destinationDirectory
Type: SystemString
Destination path
sourcePath
Type: SystemString
Source DB path
libraryPathIndex
Type: SystemInt32
Library path index
startingPoint
Type: SystemString
Starting point
copyDB
Type: SystemBoolean
Indicate if database entries should copy
See Also