Export (0) Print
Expand All

IWSManConnectionOptionsEx2 interface

The IWSManConnectionOptionsEx2 object is passed to the IWSMan::CreateSession method to provide the authentication mechanism, access type, and credentials to connect to a proxy server.

When to use

Use an IWSManConnectionOptionsEx2 object when connecting to a WinRM client or server through a proxy server.

Members

The IWSManConnectionOptionsEx2 interface inherits from IWSManConnectionOptionsEx. IWSManConnectionOptionsEx2 also has these types of members:

Methods

The IWSManConnectionOptionsEx2 interface has these methods.

MethodDescription
ProxyAuthenticationUseBasic

Returns the value of the proxy authentication flag WSManFlagProxyAuthenticationUseBasic for use in the authenticationMechanism parameter of the SetProxy method.

ProxyAuthenticationUseDigest

Returns the value of the proxy authentication flag WSManFlagProxyAuthenticationUseDigest for use in the authenticationMechanism parameter of the SetProxy method.

ProxyAuthenticationUseNegotiate

Returns the value of the proxy authentication flag WSManFlagProxyAuthenticationUseNegotiate for use in the authenticationMechanism parameter of the SetProxy method.

ProxyAutoDetect

Returns the value of the proxy access type flag WSManProxyAutoDetect for use in the accessType parameter of the SetProxy method.

ProxyIEConfig

Returns the value of the proxy access type flag WSManProxyIEConfig for use in the accessType parameter of the SetProxy method.

ProxyNoProxyServer

Returns the value of the proxy access type flag WSManProxyNoProxyServer for use in the accessType parameter of the SetProxy method.

ProxyWinHttpConfig

Returns the value of the proxy access type flag WSManProxyWinHttpConfig for use in the accessType parameter of the SetProxy method.

SetProxy

Sets the proxy information for the session.

 

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Redistributable

Windows Management Framework on Windows Server 2008 with SP2, Windows Server 2003 with SP2, Windows Vista with SP1, and Windows Vista with SP2

IDL

Wsmandisp.idl

IID

IWSManConnectionOptionsEx2 is defined as F500C9EC-24EE-48ab-B38D-FC9A164C658E

 

 

Show:
© 2014 Microsoft