You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Site Class > Site Methods > GetLanguages
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Site.GetLanguages Method

Gets a list of all languages that meet a given state, for example, active. 

This method can be accessed through the Site.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Site.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "GetLanguages", Description = "")]
public LanguageDataSet.LanguageDataTable GetLanguages(LanguageDataSet.LanguageState State, LanguageDataSet.SortBy SortBy, LanguageDataSet.SortDirection SortDirection);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetLanguages", Description = "")>
Public Function GetLanguages(State As LanguageDataSet.LanguageState, SortBy As LanguageDataSet.SortBy, SortDirection As LanguageDataSet.SortDirection) As LanguageDataSet.LanguageDataTable
Parameters 
Description 
State 
The state that the language must meet. For example, defined, active, site enabled. 
SortBy 
The field on which to sort the languages in the data table. 
SortDirection 
The direction, ascending or descending, in which to sort the field values. 

LanguageDataTable of languages that meet the given state.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!