Share via


IVsSccProjectEnlistmentFactory.GetEnlistmentFactoryOptions(UInt32) Method

Definition

Retrieves the options that control the enlistment choice selection.

public:
 int GetEnlistmentFactoryOptions([Runtime::InteropServices::Out] System::UInt32 % pvscefoOptions);
int GetEnlistmentFactoryOptions([Runtime::InteropServices::Out] unsigned int & pvscefoOptions);
public int GetEnlistmentFactoryOptions (out uint pvscefoOptions);
abstract member GetEnlistmentFactoryOptions : uint32 -> int
Public Function GetEnlistmentFactoryOptions (ByRef pvscefoOptions As UInteger) As Integer

Parameters

pvscefoOptions
UInt32

[out] Returns a combination of __VSSCCENLISTMENTFACTORYOPTIONS enumeration values.

Returns

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

Remarks

COM Signature

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.

Applies to