Partilhar via


DictTable.Indexname Method

Definition

Overloads

Indexname(Int32)

Returns the name of an index that is specified by the indexId parameter.

Indexname(Int32, DbBackend)

Indexname(Int32)

Returns the name of an index that is specified by the indexId parameter.

public:
 virtual System::String ^ Indexname(int indexId);
public virtual string Indexname (int indexId);
abstract member Indexname : int -> string
override this.Indexname : int -> string
Public Overridable Function Indexname (indexId As Integer) As String

Parameters

indexId
Int32

A DbBackend value that specifies the type of database back end; optional.

Returns

The name of the index that is specified by the indexId parameter.

Remarks

The following example shows the retrieval of the names of the indexes for a table.

DictTable dt; 
int       i; 
dt = new DictTable(tablenum(CustTable)); 
if (dt) 
{ 
    for (i=1; i <= dt.indexCnt(); i++) 
    { 
        print (dt.indexName(i)); 
    } 
}

Applies to

Indexname(Int32, DbBackend)

public:
 virtual System::String ^ Indexname(int indexId, Microsoft::Dynamics::Ax::Xpp::DbBackend db);
public virtual string Indexname (int indexId, Microsoft.Dynamics.Ax.Xpp.DbBackend db);
abstract member Indexname : int * Microsoft.Dynamics.Ax.Xpp.DbBackend -> string
override this.Indexname : int * Microsoft.Dynamics.Ax.Xpp.DbBackend -> string
Public Overridable Function Indexname (indexId As Integer, db As DbBackend) As String

Parameters

indexId
Int32
db
DbBackend

A DbBackend value that specifies the type of database back end; optional.

Returns

Applies to