SP.List.draftVersionVisibility Property
Applies to: SharePoint Foundation 2010
Gets or sets a value that specifies the minimum permission required to view minor versions and drafts within the list.
var value = SP.List.get_draftVersionVisibility();
SP.List.set_draftVersionVisibility(value);
Property Value
Type: SP.DraftVisibilityType