get_option Parameter

Applies to: SharePoint Foundation 2010

Data Type: Integer

A parameter for the get document Method method that specifies how documents are checked out from source control. The possible values are:

  • none
    Do not check out the file.

  • chkoutExclusive
    Check out the file exclusively, which fails if the file is already checked out by another user.

  • chkoutNonExclusive
    Check out the file nonexclusively, if the source control system in use is configured to allow nonexclusive check-outs.

Note

If the source control system does allow nonexclusive checkouts, the chkoutNonExclusive option degrades to the chkoutExclusive option.