Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IWSManEx::SessionFlagEnableSPNServerPort method

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

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

Syntax


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

Minimum supported server

Windows Server 2008

Redistributable

WinRM 1.1 (Windows Server 2003 R2, or Windows Server 2003 with SP1)

Header

Wsmandisp.h

IDL

Wsmandisp.idl

Library

WSManAutomation.lib

DLL

Wsmauto.dll

See also

IWSManEx
WSMan.SessionFlagEnableSPNServerPort

 

 

Show:
© 2015 Microsoft