Utility Functions and C Language Reference > Virtual Table Server Functions (VTS) for C, C#, and Java > Virtual Table Server (VTS) Functions for Multiple Connections > Alphabetical Listing > vtc_create_column

vtc_create_column

Deprecated. Use lrvtc_create_column. Creates a column.

C Language

VTCERR2 vtc_create_column ( PVCI2 pvci, char *columnName, unsigned short *outRc );

C# Language

bool vts_multi.create_column ( int pvci, string columnName);

Java Language

int Vtc.create_column (  long pvci, string columnName, OutIntParameter outRc);
Global Functions

Arguments

Name Comments
pvci The server connection handle.
columnName The name of the column to create.
outRc The status of the operation: 1 - Pass or 0 - Fail

vtc_create_column creates a column. If a column of the same name already exists, the function does nothing.

Return Values

C Language:   Returns zero on success or one of the Error Codes.

C# Language: Returns true on success.

Java Language:   Returns zero on success or one of the Error Codes.

Parameterization

All string input arguments can be passed using standard parameterization.

C Language Example

int rc = 0;
unsigned short status;

rc = vtc_create_column (pvci, "NewCol", &status);
   

C# Language Example

.Net Multiple Connection Example

Java Language Example

Java Multi-Connection Example