Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IWSManEx::SessionFlagUTF8 method

The WSMan.SessionFlagUTF8 method returns the value of the authentication flag WSManFlagUTF8 for use in the flags parameter of IWSMan::CreateSession.

WSManFlagUTF8 is a constant in the __WSManSessionFlags enumeration. For more information, see Other Session Constants.

Syntax


HRESULT SessionFlagUTF8(
  [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

Wsmandisp.h

IDL

Wsmandisp.idl

Library

WSManAutomation.lib

DLL

Wsmauto.dll

See also

IWSManEx
WSMan.SessionFlagUTF8

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.