SP.File.level Property
Applies to: SharePoint Foundation 2010
Gets a value that specifies the publishing level of the file.
var value = SP.File.get_level();
Property Value
Type: SP.FileLevel
Applies To
Exceptions
- FileNotFoundException
File cannot be found. Error code: -2147024894.
- UnauthorizedAccessException
The current user has insufficient permissions. Error code: -2147024891.