4.1.1 Message with One Hosting Terminal Server
The following is an example of a message adhering to schema version 1.1 that specifies only one <HostingTerminalServer> element.
-
<?xml version="1.0" encoding="utf-8"?> <ResourceCollection PubDate="2010-09-02T22:22:25.295284Z" SchemaVersion="1.1" xmlns="http://schemas.microsoft.com/ts/2007/05/tswf"> <Publisher LastUpdated="2010-09-02T22:22:25.295284Z" Name="Remote Desktop Services Default Connection" ID="examplehost.exampledomain" Description=""> <Resources> <Resource ID="daecc587f26279f5626ba992a9c5842b04f3c1ac" Alias="calc-TestAppCollection-CmsRdsh" Title="Calculator" LastUpdated="2010-09-02T22:22:25.2796622Z" Type="RemoteApp"> <Icons> <IconRaw FileType="Ico" FileURL="/RDWeb/Pages/rdp/calc-TestAppCollection-CmsRdsh.ico?hash=faK4lzW0J5Ij8XvPxwtB8F1LpTHwset9rZB4ttg7tsU%3D" /> <Icon32 Dimensions="32x32" FileType="Png" FileURL="/RDWeb/Pages/rdp/calc-TestAppCollection-CmsRdsh_32x32.png?hash=f4eV7HuTXB6H6HRaG59oCI%2BfjXeOjSixtU1nMHPvbVA%3D" /> </Icons> <FileExtensions /> <HostingTerminalServers> <HostingTerminalServer> <ResourceFile FileExtension=".rdp" URL="/RDWeb/Pages/rdp/examplehost-calc-TestAppCollection-CmsRdsh.rdp" /> <TerminalServerRef Ref="examplehost" /> </HostingTerminalServer> </HostingTerminalServers> </Resource> <Resource ID="48765b62a141dda2f1f4ae3465d3fa7fc5528c1b" Alias="mspaint-TestAppCollection-CmsRdsh" Title="Paint" LastUpdated="2010-09-02T22:22:25.295284Z" Type="RemoteApp"> <Icons> <IconRaw FileType="Ico" FileURL="/RDWeb/Pages/rdp/mspaint-TestAppCollection-CmsRdsh.ico?hash=faK4lzW0J5Ij8XvPxwtB8F1LpTHwset9rZB4ttg7tsU%3D" /> <Icon32 Dimensions="32x32" FileType="Png" FileURL="/RDWeb/Pages/rdp/mspaint-TestAppCollection-CmsRdsh_32x32.png?hash=f4eV7HuTXB6H6HRaG59oCI%2BfjXeOjSixtU1nMHPvbVA%3D" /> </Icons> <FileExtensions> <FileExtension Name=".bmp" /> <FileExtension Name=".dib" /> <FileExtension Name=".emf" /> <FileExtension Name=".rle" /> <FileExtension Name=".wmf" /> </FileExtensions> <HostingTerminalServers> <HostingTerminalServer> <ResourceFile FileExtension=".rdp" URL="/RDWeb/Pages/rdp/examplehost-mspaint-TestAppCollection-CmsRdsh.rdp" /> <TerminalServerRef Ref="examplehost" /> </HostingTerminalServer> </HostingTerminalServers> </Resource> <Resource ID="9358b60fd0d1d2f6d170bca9af66efc29e2c3092" Alias="wordpad-TestAppCollection-CmsRdsh" Title="WordPad" LastUpdated="2010-09-02T22:22:25.295284Z" Type="RemoteApp"> <Icons> <IconRaw FileType="Ico" FileURL="/RDWeb/Pages/rdp/wordpad-TestAppCollection-CmsRdsh.ico?hash=faK4lzW0J5Ij8XvPxwtB8F1LpTHwset9rZB4ttg7tsU%3D" /> <Icon32 Dimensions="32x32" FileType="Png" FileURL="/RDWeb/Pages/rdp/wordpad-TestAppCollection-CmsRdsh_32x32.png?hash=f4eV7HuTXB6H6HRaG59oCI%2BfjXeOjSixtU1nMHPvbVA%3D" /> </Icons> <FileExtensions> <FileExtension Name=".docx" /> <FileExtension Name=".odt" /> <FileExtension Name=".rtf" /> </FileExtensions> <HostingTerminalServers> <HostingTerminalServer> <ResourceFile FileExtension=".rdp" URL="/RDWeb/Pages/rdp/examplehost-wordpad-TestAppCollection-CmsRdsh.rdp" /> <TerminalServerRef Ref="examplehost" /> </HostingTerminalServer> </HostingTerminalServers> </Resource> <Resource ID="be8f309b7755f3b495f98a7075e4e7cd8bb82c3f" Alias="TSRemoteDesktop-TestDesktopCollection-CmsRdsh" Title="Remote Desktop" LastUpdated="2010-09-02T22:22:25.295284Z" Type="Desktop"> <Icons> <IconRaw FileType="Ico" FileURL="/RDWeb/Pages/rdp/mstsc256.ico" /> <Icon32 Dimensions="32x32" FileType="Png" FileURL="/RDWeb/Pages/rdp/mstsc256_32x32.png" /> </Icons> <FileExtensions /> <HostingTerminalServers> <HostingTerminalServer> <ResourceFile FileExtension=".rdp" URL="/RDWeb/Pages/rdp/examplehost-TSRemoteDesktop-TestDesktopCollection-CmsRdsh.rdp" /> <TerminalServerRef Ref="examplehost" /> </HostingTerminalServer> </HostingTerminalServers> </Resource> </Resources> <TerminalServers> <TerminalServer ID="examplehost" Name="examplehost" LastUpdated="2010-09-02T22:22:25.295284Z" /> </TerminalServers> </Publisher> </ResourceCollection>