Click or drag to resize
DepartmentInfoProviderDeleteDepartmentInfo Method (DepartmentInfo)

Note: This API is now obsolete.

Deletes specified department.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IDepartmentInfoProvider.Delete(DepartmentInfo) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - DepartmentInfo.Provider.")]
public static void DeleteDepartmentInfo(
	DepartmentInfo departmentObj
)

Parameters

departmentObj
Type: CMS.EcommerceDepartmentInfo
Department to be deleted
See Also