NewCimSessionCommand.SessionOption Property

Definition

The following is the definition of the input parameter "SessionOption". Specifies the SessionOption object that is passed to the Cmdlet as argument.

If the argument is not given, a default SessionOption will be created for the session in .NET API layer.

If a DCOMSessionOption object is passed, then connection is made using DCOM. If a WsManSessionOption object is passed, then connection is made using WsMan.

public Microsoft.Management.Infrastructure.Options.CimSessionOptions SessionOption { get; set; }
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName=true)]
public Microsoft.Management.Infrastructure.Options.CimSessionOptions SessionOption { get; set; }
member this.SessionOption : Microsoft.Management.Infrastructure.Options.CimSessionOptions with get, set
[<System.Management.Automation.Parameter(ValueFromPipelineByPropertyName=true)>]
member this.SessionOption : Microsoft.Management.Infrastructure.Options.CimSessionOptions with get, set
Public Property SessionOption As CimSessionOptions

Property Value

Attributes

Applies to