Synchronizes the specified folder, its files and its subfolders.

Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
int Synchronize(
	int portalId,
	string relativePath
)
Visual Basic
Function Synchronize ( 
	portalId As Integer,
	relativePath As String
) As Integer

Parameters

portalId
Type: System..::..Int32
The portal identifier.
relativePath
Type: System..::..String
The relative path of the folder.

Return Value

The number of folder collisions.

See Also