| DomainPolicy Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: CMS.Routing.Web
 Syntax
Syntaxpublic class DomainPolicy
The DomainPolicy type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | DomainPolicy | 
 Fields
Fields| Name | Description | |
|---|---|---|
|   | DOMAIN_PREFIX_NONE | 
            Do not process domain prefix
             | 
|   | DOMAIN_PREFIX_WITHOUTWWW | 
            Never use www prefix for domains
             | 
|   | DOMAIN_PREFIX_WWW | 
            Always use www prefix for domains
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|   | ProviderObject | 
            Provider object.
             | 
|   | UseDomainRedirectForFiles | 
            Indicates whether domain redirect should be used for file request (getattachment, getmediafile, getmetafile, etc)
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|   | Apply | 
            Applies domain policy regarding given site.
             | 
|   | ApplyForFiles | 
            Applies domain policy for files regarding given site.
             | 
 See Also
See Also