Click or drag to resize
NewsletterInfoProviderGetNewsletterInfo Method (Guid, 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(System.Guid, 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(
	Guid newsletterGuid,
	int siteId
)

Parameters

newsletterGuid
Type: SystemGuid
GUID of newsletter
siteId
Type: SystemInt32
Site ID

Return Value

Type: NewsletterInfo
See Also