Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.Newsletters Namespaces
CMS.Newsletters
IIssueUrlService Interface
IIssueUrlService Methods
CreateActivationUrl Method
GetActivationBaseUrl Method
GetBaseUrl Method
GetDynamicNewsletterUrl Method
GetUnsubscriptionBaseUrl Method
GetUnsubscriptionUrl Method
GetViewInBrowserBaseUrl Method
GetViewInBrowserUrl Method
IIssueUrlService
GetBaseUrl Method
Gets the base URL for given
newsletter
if defined. Otherwise it returns full application URL of newsletter site.
Namespace:
CMS.Newsletters
Assembly:
CMS.Newsletters (in CMS.Newsletters.dll) Version: 12.0.0
Syntax
C#
Copy
string
GetBaseUrl
(
NewsletterInfo
newsletter
)
Parameters
newsletter
Type:
CMS.Newsletters
NewsletterInfo
Newsletter.
Return Value
Type:
String
Exceptions
Exception
Condition
ArgumentNullException
newsletter
is
null
Remarks
The result URL doesn't contain trailing slash.
See Also
Reference
IIssueUrlService Interface
CMS.Newsletters Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com