UFN_GETCLONESITECONTENTTYPES
Returns the content type ids that are copied when cloning a CMS site.
Return
| Return Type | 
|---|
| table | 
Definition
 Copy 
                                    
CREATE function dbo.UFN_GETCLONESITECONTENTTYPES()
returns table
as 
return
    select ID
    from dbo.ContentTypes CT
    where DEPRECATED = 0 and ((ISSCRIPTTYPE = 1 and CANCOPY = 1) or ID in (5
  ,23
  ,33
  ,41
  ,42
  ,44
  ,45
  ,47
  ,48
  ,49
  ,50
  ,51
  ,52
  ,53
  ,54
  ,55
  ,56
  ,59
  ,64
  ,65
  ,66
  ,80
  ,81
  ,82
  ,89
  ,90
  ,91
  ,94
  ,96
  ,98
  ,100
  ,105
  ,108
  ,109
  ,110
  ,111
  ,112
  ,113
  ,114
  ,115
  ,116
  ,117
  ,118
  ,120
  ,121
  ,130
  ,131
  ,132
  ,133
  ,134
  ,135
  ,136
  ,137
  ,138
  ,139
  ,140
  ,142
  ,9100
  ,9102
  ,9103
  ,9105
  ,9107 
  ,9111
  ,9113
  ))