Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.1.20
|
Leadtools.Ccow.Server.Data Namespace > Database Class : CCOWApplication Property |
public Table<CCOWApplication> CCOWApplication {get;}
'Declaration
Public ReadOnly Property CCOWApplication As Table(Of CCOWApplication)
'Usage
Dim instance As Database Dim value As Table(Of CCOWApplication) value = instance.CCOWApplication
public: property Table<CCOWApplication^>^ CCOWApplication { Table<CCOWApplication^>^ get(); }
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; [TestMethod] 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; }