This version of Unity is unsupported.

SortingLayer.name

public string name;

Description

Returns the name of the layer as defined in the TagManager.

Additional resources: Tags and Layers.