Share via


SqlDataDictionary.tableCreate Method

Definition

Overloads

tableCreate(Boolean, Int32)
tableCreate(Boolean)
tableCreate()

Creates one or more tables in the SQL database. Also, provides an option to create for index.

tableCreate(Boolean, Int32)

public:
 virtual int tableCreate(bool _indexes, int _tableId);
public virtual int tableCreate (bool _indexes, int _tableId);
abstract member tableCreate : bool * int -> int
override this.tableCreate : bool * int -> int
Public Overridable Function tableCreate (_indexes As Boolean, _tableId As Integer) As Integer

Parameters

_indexes
Boolean

The table handle (0 for all); optional.

_tableId
Int32

The table handle (0 for all); optional.

Returns

Applies to

tableCreate(Boolean)

public:
 virtual int tableCreate(bool flag1);
public virtual int tableCreate (bool flag1);
abstract member tableCreate : bool -> int
override this.tableCreate : bool -> int
Public Overridable Function tableCreate (flag1 As Boolean) As Integer

Parameters

flag1
Boolean

Returns

Applies to

tableCreate()

Creates one or more tables in the SQL database. Also, provides an option to create for index.

public:
 virtual int tableCreate();
public virtual int tableCreate ();
abstract member tableCreate : unit -> int
override this.tableCreate : unit -> int
Public Overridable Function tableCreate () As Integer

Returns

Zero if the method succeeds.

Remarks

Used for low-level maintenance only.

The following example demonstrates the tableCreate method.

{ 
    SqlDataDictionary DD = new SqlDataDictionary(); 
    DD.tableCreate(TableName2Id("Address")); 
}

Applies to