Partilhar via


DictTable.Name Method

Definition

Overloads

Name(DbBackend, Boolean)
Name()

Retrieves the name of the table.

Name(DbBackend)

Name(DbBackend, Boolean)

public:
 virtual System::String ^ Name(Microsoft::Dynamics::Ax::Xpp::DbBackend db, bool pseudoname);
public virtual string Name (Microsoft.Dynamics.Ax.Xpp.DbBackend db, bool pseudoname);
abstract member Name : Microsoft.Dynamics.Ax.Xpp.DbBackend * bool -> string
override this.Name : Microsoft.Dynamics.Ax.Xpp.DbBackend * bool -> string
Public Overridable Function Name (db As DbBackend, pseudoname As Boolean) As String

Parameters

pseudoname
Boolean

A Boolean value that indicates whether a pseudo name is returned; optional.

Returns

Applies to

Name()

Retrieves the name of the table.

public:
 virtual System::String ^ Name();
public virtual string Name ();
abstract member Name : unit -> string
override this.Name : unit -> string
Public Overridable Function Name () As String

Returns

The name of the table.

Remarks

If the table name is longer than 30 characters, the native name and SQL name of the table do not match.

The following example shows the retrieval of the name of a table.

DictTable dt; 
dt = new DictTable(1);  // 1 == tablenum(CustTable) 
if (dt) 
{ 
    print(strfmt("The table name is %1.", dt.name())); 
}

Applies to

Name(DbBackend)

public:
 virtual System::String ^ Name(Microsoft::Dynamics::Ax::Xpp::DbBackend db);
public virtual string Name (Microsoft.Dynamics.Ax.Xpp.DbBackend db);
abstract member Name : Microsoft.Dynamics.Ax.Xpp.DbBackend -> string
override this.Name : Microsoft.Dynamics.Ax.Xpp.DbBackend -> string
Public Overridable Function Name (db As DbBackend) As String

Parameters

db
DbBackend

A Boolean value that indicates whether a pseudo name is returned; optional.

Returns

Applies to