NewCimSessionCommand.SessionOption Property
Sets and gets the SessionOption parameter, which specifies the session options object that is passed to the cmdlet as an argument. If the argument is not given, a default object will be created for the session in the .NET API layer. If a DCOMSessionOption object is passed, then a connection is made using DCOM. If a WsManSessionOption object is passed, then the connection is made using WSMan.
Namespace: Microsoft.Management.Infrastructure.CimCmdlets
Assembly: Microsoft.Management.Infrastructure.CimCmdlets (in Microsoft.Management.Infrastructure.CimCmdlets.dll)
Syntax
[ParameterAttribute(ValueFromPipelineByPropertyName = true)]
public CimSessionOptions SessionOption { get; set; }
public:
[ParameterAttribute(ValueFromPipelineByPropertyName = true)]
property CimSessionOptions^ SessionOption {
CimSessionOptions^ get();
void set(CimSessionOptions^ value);
}
[<ParameterAttribute(ValueFromPipelineByPropertyName = true)>]
member SessionOption : CimSessionOptions with get, set
<ParameterAttribute(ValueFromPipelineByPropertyName := True)>
Public Property SessionOption As CimSessionOptions
Property Value
Type: Microsoft.Management.Infrastructure.Options.CimSessionOptions
Returns CimSessionOptions.
See Also
NewCimSessionCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace
Return to top