Partilhar via


UtilFile.reindex Method

Definition

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

public:
 virtual void reindex();
public virtual void reindex ();
abstract member reindex : unit -> unit
override this.reindex : unit -> unit
Public Overridable Sub reindex ()

Remarks

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

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(); 
    } 
}

Applies to