The site name that is used when communicating with other EPiServer sites.
RegExp Pattern for validation: "^([a-zA-Z0-9\.-]{0,256})$".
Namespace:
EPiServer.ConfigurationAssembly: EPiServer.Configuration (in EPiServer.Configuration.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
[ObsoleteAttribute("Use the SiteId property on SiteElement instead, i e use setting.Parent.SiteId rather than setting.SiteShortName", false)] [ConfigurationPropertyAttribute("siteShortName", IsRequired = false)] [CustomRegexStringValidatorAttribute("^([a-zA-Z0-9\.-]{0,256})$", "The string must be either an empty string or any combination of alphanumericals, dots (.) and dashes (-) up to 256 characters long, e.g. 'site.com' or 'MySite-2'.")] public string SiteShortName { get; set; } |