Kentico 11 API Reference
Kentico 11 API Reference
Namespaces
CMS.Newsletters Namespaces
CMS.Newsletters
IIssueUrlService Interface
IIssueUrlService Methods
CreateActivationUrl Method
GetActivationBaseUrl Method
GetBaseUrl 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: 11.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) 2017 Kentico Software
Send comments on this topic to
support@kentico.com