Click or drag to resize
MediaFileInfoProviderUpdateFilesPath Method
Updates the file path of all the files matching specified criteria.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax
C#
public static void UpdateFilesPath(
	string originalPath,
	string newPath,
	int libraryId
)

Parameters

originalPath
Type: SystemString
Old file path of the files
newPath
Type: SystemString
New file path of the files
libraryId
Type: SystemInt32
ID of the library where the files belongs to
See Also