Checkout Method

See Also         Example         Applies To

Checks the specified WebFile object out to the source control project.

Note   You must have a source control project in place before using this method. For information about source control projects, refer to Managing Source Control Projects.

Syntax

expression.Checkout(ForceCheckout)

expression   An expression that returns a WebFile object.

ForceCheckout   Optional Boolean. Forces a checkout, even if the file is already checked out. Default value is False.

Return Type

Void

Remarks

The ForceCheckout argument provides the administrator with the ability to force a checkout in cases where a file has been checked out by a user who is unavailable to check the file back in.