Click or drag to resize
AttachmentInfoProviderMoveAttachment Method (AttachmentInfo, Int32, Int32)

Note: This API is now obsolete.

Moves the attachment data to the new site.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
[ObsoleteAttribute("Use MoveAttachment(AttachmentInfo attachment, int targetSiteId) method instead.")]
public static void MoveAttachment(
	AttachmentInfo attachment,
	int oldSiteId,
	int newSiteId
)

Parameters

attachment
Type: CMS.DocumentEngineAttachmentInfo
Attachment object
oldSiteId
Type: SystemInt32
Old site ID
newSiteId
Type: SystemInt32
New site ID
See Also