IWSManEx::SessionFlagUseNoAuthentication method
The WSMan.SessionFlagUseNoAuthentication method returns the value of the authentication flag WSManFlagUseNoAuthentication for use in the flags parameter of IWSMan::CreateSession.
WSManFlagUseNoAuthentication is a constant in the __WSManSessionFlags enumeration. For more information, see Authentication Constants.
Syntax
HRESULT SessionFlagUseNoAuthentication(
[out] long *flags
);
Parameters
- flags [out]
-
The value of the constant.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client | Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 [desktop apps only] |
|
Redistributable | WinRM 1.1 (Windows Server 2003 R2, Windows Server 2003 with SP1, or Windows XP with SP2) |
|
Header |
|
|
IDL |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012