Skip to main content

LXCOConnection class

This data object contains information about the current connection to Lenovo XClarity Orchestrator.

This object is read-only and can be instantiated only using the Connect-LXCO cmdlet.

Namespace: Lenovo.XClarityOrchestrator.PowerShell.Data

Assembly: Lenovo.XClarityOrchestrator.PowerShell.Data

Properties

public string Id { get; }
Session ID of the current connection to XClarity Orchestrator
public bool IsConnected { get; }
Indicates whether this user session is connected to XClarity Orchestrator. This can be one of the following values.
  • true. This user session is connected to XClarity Orchestrator.
  • false. This user session is dropped.
public string Host { get }
XClarity Orchestrator IP address or hostname
public int Port { get; }
XClarity Orchestrator port that is used for this connection
public int Timeout { get; }
Number of seconds that the cmdlet waits for an HTTPS response from XClarity Orchestrator
public string UserName { get; }
Name of the user that is authenticated to this session
public DateTime? LoginTime { get; }
Timestamp when the connection to XClarity Orchestrator was established
public DateTime? LogoutTime { get; }
Timestamp when the connection to XClarity Orchestrator was dropped
public Version LXCOVersion { get; }
Gets the version of the XClarity Orchestrator server

Methods

public virtual bool Equals (object obj);
Determines whether the specified object is equal to the current object.

(Inherited from System.Object)

public virtual int GetHashCode ();
Serves as the default hash function

(Inherited from System.Object)

public Type GetType ();
Gets the System.Type of the current instance

(Inherited from System.Object)

public virtual string ToString ();
Returns a string that represents the current object.

(Inherited from System.Object)