IWSMan.CreateSession(String, Int32, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
CreateSession
method of IWSMan
interface.
[System.Runtime.InteropServices.DispId(1)]
public object CreateSession (string connection, int flags, object connectionOptions);
[<System.Runtime.InteropServices.DispId(1)>]
abstract member CreateSession : string * int * obj -> obj
Public Function CreateSession (connection As String, flags As Integer, connectionOptions As Object) As Object
Parameters
- connection
- String
- flags
- Int32
- connectionOptions
- Object
Returns
- Attributes
Remarks
An original IDL definition of CreateSession
method was the following: HRESULT CreateSession ([optional, defaultvalue(string.Empty)] BSTR connection, [optional, defaultvalue(0)] long flags, [optional] IDispatch* connectionOptions, [out, retval] IDispatch** ReturnValue)
;