LayerAPI.declassify

 

long declassify()

This method declassifies a classified the layer, if it has been previously classified by the client via doUniqueClassification or doRangeClassification, or by the data profile.  This means the the layer will be returned to the color defined by the data profile.

This method returns zero upon success, and returns an error code if the layer is not a database layer.