Share via


How to: Check Out an Item Using a SourceSafe Plug-in

Checking an item out of source control using a SourceSafe plug-in is much the same as checking out an item in Visual SourceSafe. Your plug-in creates a copy of the latest version on your local disk and removes the read-only attribute of the file. Depending on the source control settings in Visual Studio, this process is repeated each time you check out the file.

When you have checked out an item, Solution Explorer marks it with an icon of file with a checkmark on it. Files that are checked out exclusively are marked differently from those checked out as shared. For pictures of the icons, see the Visual Studio Help for Solution Explorer.

To check out the database version of an item:

  1. In Visual Studio, open Solution Explorer and select the item to check out.

  2. On the File menu, click Source Control, then Check Out for Edit.

  3. In the Check Out for Edit dialog box, select the items to check out and click Check Out.

To check out the local version of an item:

  1. In Visual Studio, open Solution Explorer and select the item to check out.

  2. On the File menu, click Source Control, then Check Out for Edit.

  3. In the Check Out for Edit dialog box, click the arrow adjacent to Options.

  4. Select the Checkout Local Version check box.

  5. With the item to check out selected, click Check Out.

See Also

Tasks

How to: Check Out a File or Project

Reference

Check Out for Edit Dialog Box (Plug-in)