Partager via


IWSManEx.CreateSession(String, Int32, Object) Method

Definition

CreateSession method of IWSManEx 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);

Applies to