Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
ITableAdminManager..::CreateTable Method (String, String, Schema, array<String>[]()[][])

Convenience form of CreateTable(String, String, Schema, IList<(Of <<'(IList<(Of <<'(String>)>>)>)>>)), that can be used if there is only a primary key with no secondary keys.

Create a table on the server without the need for a backing LVConf definition. This can only be published to with a client publisher, it will not have any connections to existing tables or applications. It can be stopped with DropTables(array<String>[]()[][]).

Namespace: StreamBase.LiveView.API
Assembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 10.3.0.4 (10.3.0.4)

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    void CreateTable(
    	string tableName,
    	string description,
    	Schema schema,
    	params string[] primaryKeyFields
    )

    Sub CreateTable ( _
    	tableName As String, _
    	description As String, _
    	schema As Schema, _
    	ParamArray primaryKeyFields As String() _
    )

    void CreateTable(
    	String^ tableName,
    	String^ description,
    	Schema^ schema,
    	... array<String^>^ primaryKeyFields
    )

#### Parameters

tableName
  String

description
  String

schema
  Schema
  Defines the columns in the table.

primaryKeyFields
  array<String>[]()[][]
  The list of field names comprised in the primary key.

# See Also

ITableAdminManager Interface
CreateTable Overload
StreamBase.LiveView.API Namespace