IURLShortenerShorten Method |
Shortens the given URL via an URLShortener
Namespace: CMS.SocialMarketing.URLShorteningAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 13.0.131
Syntaxstring Shorten(
string url,
SiteInfoIdentifier site
)
Parameters
- url
- Type: SystemString
URL to be shortened - site
- Type: CMS.DataEngineSiteInfoIdentifier
Context to get settings for
Return Value
Type:
StringShortened URL on succes,
url otherwise.
See Also