Click or drag to resize
DocumentCategoryInfoProviderRemoveDocumentFromCategories Method
Removes all categories from given document.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static void RemoveDocumentFromCategories(
	int documentId,
	bool logSynchronization = true
)

Parameters

documentId
Type: SystemInt32
ID of document
logSynchronization (Optional)
Type: SystemBoolean
Indicates if staging tasks should be logged
See Also