URLShortenerHelper IsURLShortenerAvailableInternal Method Kentico 8.0 API Reference
Provides information about availability of the URL shortener. If specified shortener is configured for given site, true is returned. False otherwise. If shortener is URLShortenerTypeEnum.None, true is returned as this shortener is always available.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

shortener
Type: CMS.SocialMarketing URLShortenerTypeEnum
Shortener whose availability you're interested in.
siteIdentifier
Type: CMS.DataEngine SiteInfoIdentifier
Determines which site's URL shortener settings are used. Provide null to use global settings.

Return Value

Type: OnlineBoolean
If specified shortener is configured for given site, true is returned. False otherwise. If shortener is URLShortenerTypeEnum.None, true is returned as this shortener is always available.
See Also