MediaFileInfoProviderMoveMediaFile Method (String, Int32, Int32, String, String, Boolean) |
Moves media file.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax public static void MoveMediaFile(
string siteName,
int originalLibraryID,
int newLibraryID,
string origPath,
string newPath,
bool synchronization = false
)
Parameters
- siteName
- Type: SystemString
Site name - originalLibraryID
- Type: SystemInt32
Original library ID - newLibraryID
- Type: SystemInt32
New library ID - origPath
- Type: SystemString
Old file path within the library folder - newPath
- Type: SystemString
New file path within the library folder - synchronization (Optional)
- Type: SystemBoolean
Indicates if method is running by web farms synchronization
See Also