This version of Unity is unsupported.

AssetDatabase.GetLabels

public static string[] GetLabels(Object obj);

Description

Returns all labels attached to a given asset.