(dsDatabase, dsTypeId)
Returns the name of the object type
Returns the name of the object type
Returns the name of the object type
def dsGetTypeName(dsDatabase, dsTypeId):
    '''
    Returns the name of the object type
    '''
    name = ""
    try:
        record = dsGetRecordByRecordId(dsDatabase, int(dsTypeId))
        name = record[ntds.dsfielddictionary.dsObjectName2Index]
        return name    
    except:
        return ""
def dsGetTypeName ( dsDatabase , dsTypeId ) : name = "" try : record = dsGetRecordByRecordId ( dsDatabase , int ( dsTypeId ) ) name = record [ ntds . dsfielddictionary . dsObjectName2Index ] return name except : return ""