CSApplicationSiteListStream Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Gets a list of all sites registered in certain installation of Content Studio. The returned stream can be used as input to an XmlTextReader or an XmlDocument.

Namespace: ContentStudio
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public Stream SiteListStream()

Return Value

Type: Stream
An XML stream positioned at the beginning of the stream

<root>
  <list>
    <cs_site>
      <connectionid>1</connectionid>
      <sitename>TheSite</sitename>
      <version>5.0.1 release</version>
      <webservername>MyServer</webservername>
      <adminurl>"http://mysite.se/cs</adminurl>
    </cs_site>
    <!-- More cs_site elements can follow -->
  </list>
</root>

Remarks

The calling process must close the returned stream after it has been read in order to release resources.
Remarks

This call returns the old style syntax with elements instead of attributes
See Also

Reference