Click or drag to resize
DepartmentInfoProviderGetDepartmentInfo Method (String, String)

Note: This API is now obsolete.

Returns department with specified name.

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

Parameters

departmentName
Type: SystemString
Department name
siteName
Type: SystemString
Site name

Return Value

Type: DepartmentInfo
See Also