Gets the channel codes that are mapped to the host header of the current request.
Syntax
Smartsite SXML | Copy Code |
---|---|
datatable channel.hostheaders.getchannels() datatable channel.hostheaders.getchannels(string hostHeader) |
Parameters
Name | Data Type | Description |
---|---|---|
hostHeader | String | The host header for which you want to receive the channels. |
Return Value
Data Type | Description |
---|---|
DataTable |