Share via


UtilFile.reindex Method

Lets you create, read, update, and delete X++ code and metadata.

Syntax

public void reindex()

Run On

Server

Remarks

Make sure that the user has access to the development security key (SysDevelopment) before you call this API.

Examples

The following example calls the UtilFile.reindex method. It checks whether the user has the required security key before you perform a modification.

server static public void Main(Args _args) 
{ 
    UtilFile u; 
  
    u = new UtilFile("util"); 
    if (u) 
    { 
        u.reindex(); 
    } 
}

See Also

Reference

UtilFile Class