←Select platform

CCOWApplication Property (Database)

Summary

Gets the applications table.

Syntax

C#
VB
C++
public virtual System.Data.Linq.Table<CCOWApplication> CCOWApplication 
{ get; } 
Public Overridable ReadOnly Property CCOWApplication() As System.Data.Linq.Table(Of CCOWApplication) 
 Get 
public: virtual property System.Data.Linq.Table<CCOWApplication^ >^  CCOWApplication 
{ 
 System.Data.Linq.Table<CCOWApplication^ >^  get() 
} 

Property Value

The CCOW applications table.

Example

C#
VB
Imports Leadtools.Ccow.Server 
Imports Leadtools.Ccow.Server.Data 
 
<TestMethod()> _ 
Public Function GetCcowApplicationsNames() As List(Of String) 
   Dim applicationsNames As New List(Of String)() 
   ' Get the CCOW server database 
   Using db As Database = Utils.GetDatabase() 
      ' Add the applications names 
      For Each app As CCOWApplication In db.CCOWApplication 
         applicationsNames.Add(app.Name) 
      Next 
   End Using 
   Return applicationsNames 
End Function 
using Leadtools.Ccow.Server; 
using Leadtools.Ccow.Server.Data; 
 
public List<string> GetCcowApplicationsNames() 
{ 
   List<string> applicationsNames = new List<string>(); 
   // Get the CCOW server database 
   using (Database db = Utils.GetDatabase()) 
   { 
      // Add the applications names 
      foreach (CCOWApplication app in db.CCOWApplication) 
      { 
         applicationsNames.Add(app.Name); 
      } 
   } 
   return applicationsNames; 
} 

Requirements

Target Platforms

See Also

Reference

Database Class

Database Members

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Ccow.Server Assembly
Click or drag to resize