This documentation is archived and is not being maintained.

VSSCCENLISTMENTCHOICE Enumeration

These values indicate a project's willingness to work with choosing an enlistment (a local working copy of a project or solution that is under source control). Being able to choose an enlistment allows the user to change the location of a stored project when it is pulled from source control.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in microsoft.visualstudio.shell.interop.8.0.dll)

public enum VSSCCENLISTMENTCHOICE
public enum VSSCCENLISTMENTCHOICE
public enum VSSCCENLISTMENTCHOICE

 Member nameDescription
VSSCC_EC_COMPULSORYThis project requires the user to pick an enlistment. 
VSSCC_EC_NEVERThis project does not support enlistment choice. This is the same as if the project didn't implement the IVsSccProjectEnlistmentChoice interface. 
VSSCC_EC_OPTIONALThis project allows enlistment choice but does not require it. 

COM Signature

From IVsSccProjectEnlistmentChoice.idl:

typedef enum __VSSCCENLISTMENTCHOICE
{
   VSSCC_EC_NEVER      = 0,
   VSSCC_EC_OPTIONAL   = 1,
   VSSCC_EC_COMPULSORY = 2,
} VSSCCENLISTMENTCHOICE;

These values are returned by a call to the GetEnlistmentChoice method.

Show: