VistaDB 5

Old index name
New index name
RenameIndex Method
Rename existing index without rebuilding.
Sub RenameIndex( _
   ByVal oldName As System.String, _
   ByVal newName As System.String _
Dim instance As IVistaDBTable
Dim oldName As System.String
Dim newName As System.String
instance.RenameIndex(oldName, newName)
void RenameIndex( 
   System.string oldName,
   System.string newName
procedure RenameIndex( 
    oldName: System.String;
    newName: System.String
function RenameIndex( 
   oldName : System.String,
   newName : System.String
void RenameIndex( 
   System.string* oldName,
   System.string* newName
void RenameIndex( 
   System.String^ oldName,
   System.String^ newName


Old index name
New index name
Method doesn't rename primary key index if it participates in relationships. You cannot rename foreign key indexes (they are managed by the engine).

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also