다음을 통해 공유


IVsSccProjectEnlistmentFactory.GetEnlistmentFactoryOptions Method

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)

Syntax

'Declaration
Function GetEnlistmentFactoryOptions ( _
    <OutAttribute> ByRef pvscefoOptions As UInteger _
) As Integer
int GetEnlistmentFactoryOptions(
    out uint pvscefoOptions
)
int GetEnlistmentFactoryOptions(
    [OutAttribute] unsigned int% pvscefoOptions
)
abstract GetEnlistmentFactoryOptions : 
        pvscefoOptions:uint32 byref -> int
function GetEnlistmentFactoryOptions(
    pvscefoOptions : uint
) : int

Parameters

Return Value

Type: Int32
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.

.NET Framework Security

See Also

Reference

IVsSccProjectEnlistmentFactory Interface

Microsoft.VisualStudio.Shell.Interop Namespace