WSMan.CreateConnectionOptions method

Creates a ConnectionOptions object that specifies the user name and password used when creating a session.

Syntax

WSMan.CreateConnectionOptions()

Parameters

This method has no parameters.

Return value

A ConnectionOptions object used to specify a user name and password pair that is used to identify a user for authentication.

Remarks

The following syntax is used to call this method.

Set options = wsman.CreateConnectionOptions

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

ConnectionOptions