URLShortenerHelperIsURLShortenerAvailableInternal Method |
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.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 12.0.0
Syntaxprotected virtual bool IsURLShortenerAvailableInternal(
URLShortenerTypeEnum shortener,
SiteInfoIdentifier siteIdentifier
)
Parameters
- shortener
- Type: CMS.SocialMarketingURLShortenerTypeEnum
Shortener whose availability you're interested in. - siteIdentifier
- Type: CMS.DataEngineSiteInfoIdentifier
Determines which site's URL shortener settings are used. Provide null to use global settings.
Return Value
Type:
Boolean
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