CheckInDocument
Checks in a previously checked-out document, making it available for others to edit. Helps maintain document version control and prevents unnecessary file locks.
Stored Procedure-Specific Information
To execute this procedure, enter:EXEC CheckInDocument RelativeURL='Shared Documents/data', DocumentName='my_file.txt', Comment='My check-in comment'
Input
| Name | Type | Required | Description |
| RelativeURL | String | True | The server-relative URL of the folder containing the document. Helps locate the document within the SharePoint site. |
| DocumentName | String | True | The name of the file to be checked in. Ensures the correct document is processed. |
| Comment | String | False | An optional message provided during check-in. Useful for describing changes or providing version history details. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the document check-in operation was successful. Returns 'true' for success and 'false' for failure. |