Share this page

# vtc_drop_index

Deprecated. Use lrvtc_drop_index. Deletes the index on a column.

## C Language

    VTCERR2 vtc_drop_index ( PVCI2 pvci,  char *column_name, unsigned short *outRc );

## C# Language

    bool vts_multi.drop_index ( long pvci,  string column_name);

Data Update Functions

## Arguments

Name | Comments
--- | ---
pvci | The server connection handle.
column_name | The name of the column to remove the index from.
outRc | The return status. 1 - Pass or 0 - Fail

vtc_drop_index deletes a column index created with vtc_ensure_index.

## Return Values

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

C# Language: Returns true on success.

## Parameterization

All string input arguments can be passed using standard parameterization.

## C Language Example

Copy code

    int      rc = 0;
    unsigned short outrc;
    PVCI2     pvci = 0;
    ....
    rc = vtc_drop_index(pvci, "C_credit", &outrc);
    lr_log_message("drop_index rc=%d\n", outrc);

## C# Language Example

.NET Multiple Connection Example

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: