IVsSccProjectEnlistmentFactory.GetEnlistmentFactoryOptions Method (UInt32)

 

Retrieves the options that control the enlistment choice selection.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int GetEnlistmentFactoryOptions(
	out uint pvscefoOptions
)

Parameters

pvscefoOptions
Type: System.UInt32

[out] Returns a combination of __VSSCCENLISTMENTFACTORYOPTIONS enumeration values.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From ivssccprojectenlistmentfactory.idl

HRESULT GetEnlistmentFactoryOptions(
   [out, retval] VSSCCENLISTMENTFACTORYOPTIONS* pvscefoOptions
);

The project type uses this method to indicate how the user can edit the enlistment choice. For example, if the project type supports browsing for the enlistment choice, one of the flags returned in pvscefoOptions is VSSCC_EFO_CANBROWSEENLISTMENTPATH. If this flag is not set, that means that the project doesn't support the BrowseEnlistment method.

Return to top
Show: