AuthenticablePrincipal.LastLogon Propriedade

Definição

Obtém o DateTime que permite valor nulo que especifica a data e hora do último logon dessa conta.Gets the Nullable DateTime that specifies the date and time of the last logon for this account.

public:
 property Nullable<DateTime> LastLogon { Nullable<DateTime> get(); };
public DateTime? LastLogon { get; }
member this.LastLogon : Nullable<DateTime>
Public ReadOnly Property LastLogon As Nullable(Of DateTime)

Valor da propriedade

Nullable<DateTime>

Um DateTime que permite valor nulo que especifica a data e hora do último logon dessa conta.A Nullable DateTime that specifies the date and time of the last logon for this account.

Exceções

O repositório subjacente não dá suporte a essa propriedade.The underlying store does not support this property.

Comentários

Assim como acontece com todas as DateTime Propriedades no System.DirectoryServices.AccountManagement , o tempo retornado está no formato UTC.As with all DateTime properties in System.DirectoryServices.AccountManagement, the time returned is in UTC form. Para convertê-lo em hora local, chame o ToLocalTime método no objeto de retorno.To convert it to local time, call the ToLocalTime method on the return object.

Aplica-se a