Skip to main content

AlterAliasName

Zusammenfassung

Updates the alias name for a table or feature class.

Syntax

AlterAliasName(table, alias)

Parameter Erläuterung Datentyp

table

Input table or feature class.

String

alias

The new alias name.

String

Codebeispiel

AlterAliasName example

Updates the alias name for a newly created table.

import arcpy

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