Knight Data Access Layer
CreateIndex Method (DataHelper)




KellermanSoftware.NetDataAccessLayer Namespace > DataHelper Class : CreateIndex Method
Name of the table.
The index.
Create an index for the passed in table
Syntax
Public Sub CreateIndex( _
   ByVal tableName As String, _
   ByVal index As Index _
) 
Dim instance As DataHelper
Dim tableName As String
Dim index As Index
 
instance.CreateIndex(tableName, index)
public void CreateIndex( 
   string tableName,
   Index index
)
public: void CreateIndex( 
   string* tableName,
   Index* index
) 
public:
void CreateIndex( 
   String^ tableName,
   Index^ index
) 

Parameters

tableName
Name of the table.
index
The index.
Exceptions
ExceptionDescription
The provider does not support indexes: " + ProviderName
Requirements

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

Reference

DataHelper Class
DataHelper Members