xInfo::productName Method

Retrieves the name of the product.

Syntax

client server public static str productName()

Run On

ClientOrServer

Return Value

Type: str
A string that contains the name of the product.

Examples

The following example returns system information, including the name of the product.

str environment() 
{ 
    return xInfo::buildNo() + ' - '  
        + xInfo::compilationDate() + ' - '  
        + xInfo::dbName() + ' - '  
        + xInfo::osName() + ' - '  
        + xInfo::productName() + ' - '  
        + xInfo::releaseVersion(); 
}

See Also

xInfo Class

xInfo::buildNo Method

xInfo::releaseVersion Method