LXCAConnection class

Namespace: Lenovo.SysMgmt.LXCA.Integration.Common

Assembly: Lenovo.SysMgmt.LXCA.Integration.Common

public class LXCAConnection

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

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

Properties

public string Id { get; }
Session ID of the current connection to XClarity Administrator
public bool IsConnected { get; }
Indicates whether this user session is connected to XClarity Administrator. This can be one of the following values.
  • true. This user session is connected to XClarity Administrator.

  • false. This user session is dropped.

public string Host { get }
XClarity Administrator IP address or hostname
public int Port { get; }
XClarity Administrator port that is used for this connection
public int Timeout { get; }
Number of seconds that the cmdlet waits for an HTTPS response from XClarity Administrator
public string UserName { get; }
Name of the user that is authenticated to this session
public DateTime? LoginTime { get; }
Timestamp when the connection to XClarity Administrator was established
public DateTime? LogoutTime { get; }
Timestamp when the connection to XClarity Administrator was dropped

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)