Documents.CanCheckOut(String) Method

Definition

Determines if Microsoft Word can check out a specified document from a server. Read/write Boolean.

public:
 bool CanCheckOut(System::String ^ FileName);
public bool CanCheckOut (string FileName);
abstract member CanCheckOut : string -> bool
Public Function CanCheckOut (FileName As String) As Boolean

Parameters

FileName
String

Required String. The server path and name of the document.

Returns

Remarks

This method returns True if Microsoft Word can check out a specified document from a server, and False if not.

To take advantage of the collaboration features built into Word, documents must be stored on a Microsoft SharePoint Portal Server.

Applies to