In the future, you might find the on-line help useful. In this case:
- Select Help > Scripting Index.
- Change the drop-down menu from initial All Categories to Objects.
- Select Column Scripting under Data Table in the first list.
- Select Set Name in the second list.
You will find the correct syntax with arguments and options. You can run an example and observe the result. You can click Topic Help to go to the more complete coverage in the main help system.
You can also search in Objects with column name for example to find all related functions or messages.