Options (Source Control/Environment Page)

Use the Options dialog box to customize behavior for source control roles. The Environment page appears only if a plug-in is installed.

Microsoft SQL Server Management Studio defines three roles, each associated with a default set of source control settings. For example, if you are an independent developer, you generally do not create conflicts with other users by keeping items checked out after you check them in. Consequently, SQL Server Management Studio defines an Independent Developer role that automatically selects Keep items checked out when checking in.

  • Source Control Environment Settings
    Specifies the role that you want to use. SQL Server Management Studio defines the following roles.

    Role

    Description

    Visual SourceSafe

    Specifies that you want to use the settings most commonly used by Microsoft Visual SourceSafe users.

    Independent Developer

    Specifies that you are working independently.

    Custom

    Specifies that you have modified the settings for a role.

    Selecting one of these roles causes the appropriate source control options to be selected automatically.

  • Keep items checked out when checking in
    Specifies that when you check in items to update the source control store, the items should remain checked out to you. If you want to change this option for a specific check-in, click the Options arrow in the Check in dialog box, and then clear the Keepchecked out check box.

  • Checked-in items
    Displays a list of options that specify how SQL Server Management Studio should behave when you attempt to edit an item that is not checked out. The following tables describe the available options.

    Saving

    Action

    Description

    Prompt for check out

    Displays the Check Out dialog box.

    Check out automatically

    Checks out the item without displaying the Check Out dialog box. This is the default option.

    Save as

    Saves as a new file.

    Editing

    Action

    Description

    Prompt for check out

    Displays the Check Out dialog box.

    Prompt for exclusive checkouts

    Displays the Check Out dialog box.

    Check out automatically

    Checks out the item without displaying the Check Out dialog box. This is the default option.

    Do nothing

    Does not check out the file.

  • Allow checked-in items to be edited
    Specifies that items that are checked in can be edited in memory. If you select this check box, an Edit button appears in the Check Out dialog box when you attempt to edit a checked-in item. After clicking this button, you can edit the item. If you attempt to save the item, you must check it out or save it to a different location.

  • Reset
    Resets source control confirmation dialog boxes to their default settings. For example, if you have selected the Don't show this dialog again check box in a source control dialog box, selecting the Reset option reverses that action.