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
- 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.