Click or drag to resize
ConsentInfoProviderGetConsentInfo Method (String)

Note: This API is now obsolete.

Returns ConsentInfo with specified name.

Namespace: CMS.DataProtection
Assembly: CMS.DataProtection (in CMS.DataProtection.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IConsentInfoProvider.Get(string) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - ConsentInfo.Provider.")]
public static ConsentInfo GetConsentInfo(
	string name
)

Parameters

name
Type: SystemString
ConsentInfo name.

Return Value

Type: ConsentInfo
See Also