Click or drag to resize
MediaFileInfoProvider.CopyMediaFileInternal Method
Copy media file.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 10.0.0
Syntax
C#
protected virtual void CopyMediaFileInternal(
	string siteName,
	int libraryID,
	string origPath,
	string newPath,
	bool synchronization,
	int userId
)

Parameters

siteName
Type: System.String
Site name
libraryID
Type: System.Int32
Library ID
origPath
Type: System.String
Old file path within the library folder
newPath
Type: System.String
New file path within the library folder
synchronization
Type: System.Boolean
Indicates if method is running by web farms synchronization
userId
Type: System.Int32
ID of the user performing copy action
See Also