WebFile.Checkin Method
SharePoint Designer Developer Reference |
Checks the specified WebFile object into the source control project.
Syntax
expression.Checkin(Comment, KeepCheckedout)
expression A variable that represents a WebFile object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Comment | Optional | String | A description string. |
KeepCheckedout | Optional | Boolean | True keeps the file checked out. Default value is False. |
Remarks
The KeepCheckedout argument provides the ability to have the file remain in a checked-out state while the user checks the file in to Microsoft Visual SourceSafe to record the changes. This does not apply to the Microsoft FrontPage Light Weight source control.
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.
See Also