CheckOutDocument
SharePoint ライブラリからドキュメントをチェックアウトし、編集をロックします。複数のユーザーが同じファイルで作業する必要がある場合の競合を防止します。
Stored Procedure-Specific Information
The CheckOutDocument stored procedure checks out a document from a SharePoint document library, preventing other users from editing it. The Library parameter specifies the document library name, and the RemoteFile parameter specifies the path to the document.To execute this procedure, enter:
EXEC CheckOutDocument Library = 'Documents', RemoteFile = 'Test Folder 1/Document.txt';
Input
| Name | Type | Required | Description |
| Library | String | True | ファイルが存在するSharePoint サイト上のドキュメントライブラリの名前。例:'Shared Documents' |
| RemoteFile | String | True | チェックアウトしたいSharePoint ドキュメントライブラリ内のファイルの相対URL または完全URL。ファイル名のみが指定された場合は、デフォルトの場所からチェックアウトされます。 |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | ドキュメントのチェックアウト操作が成功したかどうかを示します。成功した場合は'true' を、失敗した場合は'false' を返します。 |