共用方式為


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

Applies To

SP.List Class

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace