Kentico 8.2 API Reference
Kentico 8.2 API Reference
Namespaces
CMS.SocialMarketing.URLShortening
IURLShortener Interface
IURLShortener Methods
IsAvailable Method
Shorten Method
IURLShortener
Shorten Method
Shortens the given URL via an URLShortener
Namespace:
CMS.SocialMarketing.URLShortening
Assembly:
CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.2.23
Syntax
C#
Copy
string
Shorten
(
string
url
,
SiteInfoIdentifier
site
)
Parameters
url
Type:
System
String
URL to be shortened
site
Type:
CMS.DataEngine
SiteInfoIdentifier
Context to get settings for
Return Value
Type:
String
Shortened URL on succes,
url
otherwise.
See Also
Reference
IURLShortener Interface
CMS.SocialMarketing.URLShortening Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com