Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The WSMan.SessionFlagUseBasic method returns the value of the authentication flag WSManFlagUseBasic for use in the flags parameter of IWSMan::CreateSession.
WSManFlagUseBasic is a constant in the __WSManSessionFlags enumeration. For more information, see Authentication Constants.
Syntax
HRESULT SessionFlagUseBasic(
[out] long *flags
);
Parameters
[out] flags
The value of the constant.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | wsmandisp.h |
| Library | WSManDisp.tlb |
| DLL | WSMAuto.dll |