Click or drag to resize
NewsletterInfoProviderGetNewsletterInfo Method (String, Int32)

Note: This API is now obsolete.

Returns the Newsletter structure for the specified newsletter.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use INewsletterInfoProvider.Get(string, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - NewsletterInfo.Provider.")]
public static NewsletterInfo GetNewsletterInfo(
	string newsletterName,
	int siteId
)

Parameters

newsletterName
Type: SystemString
NewsletterName
siteId
Type: SystemInt32
Site identifier

Return Value

Type: NewsletterInfo
See Also