AlterAliasName

Resumen

Updates the alias name for a table or feature class.

Sintaxis

AlterAliasName (table, alias)
ParámetroExplicaciónTipo de datos
table

Input table or feature class.

String
alias

The new alias name.

String

Muestra de código

AlterAliasName example

Updates the alias name for a newly created table.

import arcpy

arcpy.CreateTable_management('c:/city/Boston.gdb', 'SnowReport')
arcpy.AlterAliasName('c:/city/Boston.gdb/SnowReport', 'Snow Report')