MediaFileInfoProviderCopyMediaFileInternal Method |
Copy media file.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntax protected virtual void CopyMediaFileInternal(
string siteName,
int libraryID,
string origPath,
string newPath,
bool synchronization,
int userId
)
Parameters
- siteName
- Type: SystemString
Site name - libraryID
- Type: SystemInt32
Library ID - origPath
- Type: SystemString
Old file path within the library folder - newPath
- Type: SystemString
New file path within the library folder - synchronization
- Type: SystemBoolean
Indicates if method is running by web farms synchronization - userId
- Type: SystemInt32
ID of the user performing copy action
See Also