Click or drag to resize
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.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 10.0.0
Syntax
C#
protected 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