Skip to content

Latest commit

 

History

History
86 lines (52 loc) · 2.22 KB

wsman-sessionflagutf8.md

File metadata and controls

86 lines (52 loc) · 2.22 KB
title description ms.assetid ms.tgt_platform keywords topic_type api_name api_location api_type ms.topic ms.date
WSMan.SessionFlagUTF8 method (WSManDisp.h)
Returns the value of the WSManFlagUTF8 authentication flag for use in the flags parameter of WSMan.CreateSession.
a79e292a-364b-4bf3-ae66-6a15ad51524f
multiple
SessionFlagUTF8 method Windows Remote Management
SessionFlagUTF8 method Windows Remote Management , WSMan object
WSMan object Windows Remote Management , SessionFlagUTF8 method
apiref
WSMan.SessionFlagUTF8
WSMAuto.dll
COM
reference
05/31/2018

WSMan.SessionFlagUTF8 method

The WSMan.SessionFlagUTF8 method returns the value of the WSManFlagUTF8 authentication flag for use in the flags parameter of WSMan.CreateSession. This method provides a more efficient syntax for using the constant so that scripts are not required to set a constant value. For more information about how to call this method, see Session Constants.

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

Syntax

WSMan.SessionFlagUTF8( _
  ByRef 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

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
WSManDisp.h
IDL
WSManDisp.idl
Library
WSManDisp.tlb
DLL
WSMAuto.dll

See also

WSMan

Session