SqlDataDictionary.tableCreate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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"));
}